我正在遵循有关如何使用 Postman 从 Paypal 获取访问令牌的说明。
我不断收到此错误消息:
"error": "unsupported_grant_type", "error_description": "Grant Type is NULL"
这是我的邮递员设置:
网址:https : //api.sandbox.paypal.com/v1/oauth2/token
授权:用户名:client_id... 密码:secret...
标题:内容类型 -> 应用程序/x-www-form-urlencoded
正文:表单 urlencoded
key: grant_type
value: client_credentials
Run Code Online (Sandbox Code Playgroud)