有赞新零售社区

发帖
API使用问题»新增产品API访问网址过长,返回414!!!

新增产品API访问网址过长,返回414!!!

淘淘贝贝 2019-01-01 1067 浏览 4 评论 | 只看楼主 [打印]
用的新增产品接口 youzan.item.create
由于规格多,导致http请求时,显示如下提示,麻烦看下,是什么情况 ,多谢了

请求时返回的提示:


(4200个字节)

百度了一下:
本帖最后由 淘淘贝贝 于 2018-12-31 20:46 编辑
用手机打开
收藏 ··· 回复
    提供一下你的请求参数方便判断您的问题

      淘淘贝贝 青铜   2019-01-02 | 只看该作者
      1. https://carmen.youzan.com/gw/oauthentry/youzan.item/3.0.0/create?access_token=【token】&desc=散装发货&image_ids=1275494620,1275494627,1275493645,1275492485,1275493650,1275492492&is_display=0&price=888&title=带开瓶器多功能 男士腰挂钥匙扣 创意汽车钥匙链挂件 金属钥匙圈&sku_stocks=[{"price":1080,"quantity":9543,"item_no":"53556251577","skus":[{"k":"颜色","v":"A带开瓶器散装-不能刻字"}]},{"price":1444,"quantity":10796,"item_no":"53556251578","skus":[{"k":"颜色","v":"B带开瓶器+刻字+送8个钥匙环"}]},{"price":1333,"quantity":10829,"item_no":"53871139724","skus":[{"k":"颜色","v":"Y双面蓝色+刻字+送8个钥匙环"}]},{"price":888,"quantity":9847,"item_no":"53871139725","skus":[{"k":"颜色","v":"E双面蓝色-不能刻字"}]},{"price":1333,"quantity":10769,"item_no":"53871616207","skus":[{"k":"颜色","v":"F双面金色+刻字+送8个钥匙环"}]},{"price":888,"quantity":9985,"item_no":"53871616208","skus":[{"k":"颜色","v":"G双面金色-不能刻字"}]},{"price":1080,"quantity":9950,"item_no":"84817835442","skus":[{"k":"颜色","v":"H带开瓶器-不刻字"}]},{"price":1444,"quantity":10735,"item_no":"84817835443","skus":[{"k":"颜色","v":"J带开瓶器+刻字+送8个钥匙环"}]},{"price":1080,"quantity":9908,"item_no":"84817835444","skus":[{"k":"颜色","v":"K带开瓶器-不刻字"}]},{"price":1444,"quantity":10212,"item_no":"84819773154","skus":[{"k":"颜色","v":"L带开瓶器+刻字+送8个钥匙环"}]},{"price":980,"quantity":9985,"item_no":"119884926613","skus":[{"k":"颜色","v":"W51枪色-不刻字"}]},{"price":1344,"quantity":2957,"item_no":"119884926614","skus":[{"k":"颜色","v":"W51枪色+刻字+8个钥匙环"}]},{"price":980,"quantity":9989,"item_no":"119884926615","skus":[{"k":"颜色","v":"W51银色-不刻字"}]},{"price":1344,"quantity":2984,"item_no":"119884926616","skus":[{"k":"颜色","v":"W51银色+刻字+8个钥匙环"}]},{"price":650,"quantity":572,"item_no":"122564369862","skus":[{"k":"颜色","v":"Q款抢色-不能刻字"}]},{"price":1080,"quantity":950,"item_no":"122564369863","skus":[{"k":"颜色","v":"W款抢色+刻字+送8个钥匙环"}]},{"price":1080,"quantity":996,"item_no":"127458670740","skus":[{"k":"颜色","v":"N带开瓶器-不刻字"}]},{"price":1444,"quantity":996,"item_no":"127458670741","skus":[{"k":"颜色","v":"M带开瓶器+刻字+6个钥匙圈"}]},{"price":1080,"quantity":999,"item_no":"127458670742","skus":[{"k":"颜色","v":"Z银色-不刻字"}]},{"price":1366,"quantity":1000,"item_no":"127461198474","skus":[{"k":"颜色","v":"S银色+刻字+8个钥匙圈"}]},{"price":1080,"quantity":980,"item_no":"127906406526","skus":[{"k":"颜色","v":"W63双面蓝色-不刻字"}]},{"price":1444,"quantity":978,"item_no":"127906406527","skus":[{"k":"颜色","v":"W63双面蓝色+刻字+8个钥匙圈"}]},{"price":1344,"quantity":998,"item_no":"136485796291","skus":[{"k":"颜色","v":"C金色+刻字+送8个钥匙环"}]},{"price":1344,"quantity":999,"item_no":"136485796292","skus":[{"k":"颜色","v":"D银色+刻字+送8个钥匙环"}]},{"price":1344,"quantity":1000,"item_no":"136485796293","skus":[{"k":"颜色","v":"V抢色+刻字+送8个钥匙环"}]},{"price":1344,"quantity":1000,"item_no":"136488376405","skus":[{"k":"颜色","v":"U银色+刻字+送8个钥匙环"}]},{"price":1344,"quantity":1000,"item_no":"136488376406","skus":[{"k":"颜色","v":"O抢色+刻字+送8个钥匙环"}]},{"price":1444,"quantity":998,"item_no":"136489681243","skus":[{"k":"颜色","v":"P银色带开瓶器+刻字+送8个钥匙环"}]},{"price":1344,"quantity":1000,"item_no":"136489681244","skus":[{"k":"颜色","v":"T银色+刻字+送8个钥匙环"}]},{"price":980,"quantity":999,"item_no":"136490966674","skus":[{"k":"颜色","v":"香槟金-不刻字"}]}]&sku_images=[{"v":"A带开瓶器散装-不能刻字","img_url":"http://img.yzcdn.cn/upload_files/2019/01/02/FtB_QJYP6EOfxlefPn2Y0wBxJ3dq.jpg"},{"v":"B带开瓶器+刻字+送8个钥匙环","img_url":"http://img.yzcdn.cn/upload_files/2019/01/02/Fia9JrQqfOAKzrRFX0JHXPHbqrle.jpg"},{"v":"Y双面蓝色+刻字+送8个钥匙环","img_url":"http://img.yzcdn.cn/upload_files/2019/01/02/Fl1d7gZD0ocHjuPBCX4YKCtbCPOY.jpg"},{"v":"E双面蓝色-不能刻字","img_url":"http://img.yzcdn.cn/upload_files/2019/01/02/FlE1rl26KposzPJZ5IzDKh5lOLai.jpg"},{"v":"F双面金色+刻字+送8个钥匙环","img_url":"http://img.yzcdn.cn/upload_files/2019/01/02/FtwZkUpEPGKkO2QH7xFzf_WuAbej.jpg"},{"v":"G双面金色-不能刻字","img_url":"http://img.yzcdn.cn/upload_files/2019/01/02/FkrZiysjKrdFuY8OPico-9ZI_5go.jpg"},{"v":"H带开瓶器-不刻字","img_url":"http://img.yzcdn.cn/upload_files/2019/01/02/FrtKeYc1H4s--KpxXGDeE5LCXnsK.jpg"},{"v":"J带开瓶器+刻字+送8个钥匙环","img_url":"http://img.yzcdn.cn/upload_files/2019/01/02/FkPq94hg21EGtWiWBp3_edYvUu_3.jpg"},{"v":"K带开瓶器-不刻字","img_url":"http://img.yzcdn.cn/upload_files/2019/01/02/FnDxOnC5m4Kgo29KVetK141oWxHK.jpg"},{"v":"L带开瓶器+刻字+送8个钥匙环","img_url":"http://img.yzcdn.cn/upload_files/2019/01/02/FkHfKWAj4g0FNFy35D_dqqONUQVt.jpg"},{"v":"W51枪色-不刻字","img_url":"http://img.yzcdn.cn/upload_files/2019/01/02/FkfmlIbaKOQSp9T_lTOw3JXNzfYr.png"},{"v":"W51枪色+刻字+8个钥匙环","img_url":"http://img.yzcdn.cn/upload_files/2019/01/02/FpEOC2TAVw_2JkrYzIWGebDS1_WF.png"},{"v":"W51银色-不刻字","img_url":"http://img.yzcdn.cn/upload_files/2019/01/02/FkwwCP2--Wh3BUEUn3ca3HiJYYze.jpg"},{"v":"W51银色+刻字+8个钥匙环","img_url":"http://img.yzcdn.cn/upload_files/2019/01/02/FhRu7SsVwnE2_1PX0CDSrTAoYRaO.png"},{"v":"Q款抢色-不能刻字","img_url":"http://img.yzcdn.cn/upload_files/2019/01/02/FqSJSFR45SUnTg_FTVBWVaEDJUf1.jpg"},{"v":"W款抢色+刻字+送8个钥匙环","img_url":"http://img.yzcdn.cn/upload_files/2019/01/02/FmgugylnNygOXoGepso3nWMKht4u.jpg"},{"v":"N带开瓶器-不刻字","img_url":"http://img.yzcdn.cn/upload_files/2019/01/02/FogeRWpKxxI_hAED0vj6qVrzDfI3.jpg"},{"v":"M带开瓶器+刻字+6个钥匙圈","img_url":"http://img.yzcdn.cn/upload_files/2019/01/02/Fj0mL9Qw7KAkr18nXLXCUBSjw-JL.jpg"},{"v":"Z银色-不刻字","img_url":"http://img.yzcdn.cn/upload_files/2019/01/02/Fn4-g-S9FHbvSPVFezg4Q_nn3b4_.jpg"},{"v":"S银色+刻字+8个钥匙圈","img_url":"http://img.yzcdn.cn/upload_files/2019/01/02/Fh0ERAAvNRkhz_yv-CcV8Ezwd3kr.jpg"},{"v":"W63双面蓝色-不刻字","img_url":"http://img.yzcdn.cn/upload_files/2019/01/02/Fk03w6H0R7KZ1ty2eiy9lkpBvJpa.jpg"},{"v":"W63双面蓝色+刻字+8个钥匙圈","img_url":"http://img.yzcdn.cn/upload_files/2019/01/02/Fh3t5MuUfeuy_-_HD73igNyMqrk1.jpg"},{"v":"C金色+刻字+送8个钥匙环","img_url":"http://img.yzcdn.cn/upload_files/2019/01/02/FgCNwiO5tR1PFBxkCsMHX7EhY2ju.jpg"},{"v":"D银色+刻字+送8个钥匙环","img_url":"http://img.yzcdn.cn/upload_files/2019/01/02/FpAg7aQqs5UsZuJzRjDLBwmlGV2W.jpg"},{"v":"V抢色+刻字+送8个钥匙环","img_url":"http://img.yzcdn.cn/upload_files/2019/01/02/FlN2KUcSST96DrrhBr_UMQtJcEcN.jpg"},{"v":"U银色+刻字+送8个钥匙环","img_url":"http://img.yzcdn.cn/upload_files/2019/01/02/FuTCLC4rJNeRMO_POk1jfDIMjftW.jpg"},{"v":"O抢色+刻字+送8个钥匙环","img_url":"http://img.yzcdn.cn/upload_files/2019/01/02/Fj2ll85R9chsl3eQC0ikRsfYPYcG.jpg"},{"v":"P银色带开瓶器+刻字+送8个钥匙环","img_url":"http://img.yzcdn.cn/upload_files/2019/01/02/FnVB0DE0Bb5wofGQDjfj_g5ta_Yx.jpg"},{"v":"T银色+刻字+送8个钥匙环","img_url":"http://img.yzcdn.cn/upload_files/2019/01/02/Fg1PkXBEg9-NxkJPCKeG7gNfD1pL.jpg"},{"v":"香槟金-不刻字","img_url":"http://img.yzcdn.cn/upload_files/2019/01/02/Fk1Vs8uJs_-E7f1ARzHFryKMRVCg.jpg"}]
      复制代码



        淘淘贝贝 青铜   2019-01-02 | 只看该作者


        我把token隐藏了,麻烦看一下

          淘淘贝贝 发表于 2019-1-2 14:20
          我把token隐藏了,麻烦看一下


          建议使用post方式请求。看报错是get方式超过字符限制

            1跳至
            您需要登录后才可以回帖 登录 | 立即注册

            本版积分规则

            复制链接
            新浪微博
            QQ空间
            微信扫码
            • 回复

            • 评分

            客服工作时间是9:00-18:00,客服妹子当前不在线,若不能及时回复请谅解。试试右上角的搜索吧,论坛有丰富的经验贴、公告贴,相信一定能够帮到您~

            复制成功