just fill out my username, password, app key, app secret, then try it out, there is still not working. Also what is grant-type? i am not sure what should i do.
here is show me information:
Curl
Request URL
Response Body
Response Code
Response Headers
Curl
Request URL
Response Body
Response Code
Response Headers
here is show me information:
Curl
curl -X POST --header "Content-Type: application/x-www-form-urlencoded" --header "Accept: application/json" --header "Authorization: Basic M3B5UWNrNjFSNFdnb000WkNKd3J2QToxMWNOak0yYVNRcWdxdXh1dFdMd25RdkxXWWl4RHZUY0szeEl5U25vMFJNZw==" -d "username=8575984477&password=8575984477D&extension=101&grant_type=password" "https://platform.devtest.ringcentral.com/restapi/oauth/token"
Request URL
https://platform.devtest.ringcentral.com/restapi/oauth/token
Response Body
{ "error": "invalid_grant", "error_description": "Invalid resource owner credentials." }
Response Code
400
Response Headers
{
"date": "Mon, 29 Aug 2016 22:10:07 GMT",
"routingkey": "SJC11P01PAS02",
"content-length": "94",
"content-language": "en",
"content-type": "application/json;charset=UTF-8"
}
Curl
curl -X POST --header "Content-Type: application/x-www-form-urlencoded" --header "Accept: application/json" --header "Authorization: Basic dGYxM0wydlBSVGE0WUFOWEo4U1RoUTpNZjNYWEtoTFNSZVM0NGw1cVcxYUNBS3I3NUxNaWxSLVd1cS1FNTBadkdTUQ==" -d "username=8575984477&password=8575984477D&grant_type=password" "https://platform.devtest.ringcentral.com/restapi/oauth/token"
Request URL
https://platform.devtest.ringcentral.com/restapi/oauth/token
Response Body
{ "error": "unauthorized_client", "error_description": "Unauthorized for this grant type" }
Response Code
400
Response Headers
{
"date": "Mon, 29 Aug 2016 22:18:14 GMT",
"routingkey": "SJC11P01PAS02",
"content-language": "en",
"content-type": "application/json;charset=UTF-8",
"content-length": "97"
}