有赞新零售社区

发帖
API使用问题»获取自用型token bug

获取自用型token bug

22c18b48cee9 2017-12-26 2258 浏览 4 评论 | [显示全部楼层] [打印]
grant_type=silent
{"error_description":"缺少参数grant_type","error":"41000"}
用手机打开
收藏 ··· 回复
    报错比较清楚了,缺少了grant_type参数

    请求示例:curl -X POST https://open.youzan.com/oauth/token -H 'content-type: application/x-www-form-urlencoded' -d 'client_id=testclient&client_secret=testclientsecret&grant_type=silent&kdt_id=88888'
    自用型应用获取token,grant_type固定为“silent”


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

        本版积分规则

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

        • 评分

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

        复制成功