检索Quire API的访问令牌-unsupported_grant_type

时间:2020-03-05 08:13:01

标签: quire-api

我正在尝试按照api文档(https://quire.io/dev/api/)中的说明检索访问令牌。

卷曲请求示例

curl -H "Content-Type: application/json" -X POST -d '{"grant_type":"authorization_code","code":"my_code","client_id":"my_client_id","client_secret":"my_client_secret"}' https://quire.io/oauth/token

我只收到以下回复:

{"error":"unsupported_grant_type","error_description":"The supported grant types are 'authorization_code', 'refresh_token'."}

您看到我的卷曲请求有什么问题吗?

Anderson Reinkordt

1 个答案:

答案 0 :(得分:0)