我正在尝试使用资源所有者授予权限后获得的代码获取 access_token。我的要求是这样的:
网址:
https ://api.amazon.com/auth/o2/token
正文:
client_id=amzn1.application-oa2-client.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&client_secret=%090xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&code=xxxxxxxxxxxxxxxxxxxxxxxxxx&grant_type=authorization_code&redirect_uri=https%3A%2F%2Flocalhost&scope=clouddrive%3Awrite
标题:主机 api.amazon.com:443 用户代理 MySockets 内容类型应用程序/x-www-form-urlencoded 内容长度 271 连接关闭
我得到错误:404
请任何人指出我在这里做错了什么。