function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Rajat Mahajan 33Rajat Mahajan 33 

Not getting access token in advanced rest client

Access Token Not Retrieved - Getting unsupported_grant_type error on POSTMAN and Advanced REST Client of Chrome

I am trying to perform a basic step (this works when i write an apex class and then try to get the access token, but does not when i do the same from google chrome extensions)

Please see the details:
I am hitting the URL :


And i am giving these as headers:
grant_type: password
client_id: 3MVG9Y6d_Btp4xp6.aP2dpK_QvKPMy.wCLzvqeElabZryrMYgZfEyCCMVUg5fm.6SqUW5525mr3xgXNStu2IM
client_secret: 7269476387055204688
username: --------@gmail.com
password: --------
Accept: application/json

Still getting the error:
{
  "error": "unsupported_grant_type",
  "error_description": "grant type not supported"
}

I tried adding the Content-Type parameter as well, but does not work.
Kindly help!

Regards
Rajat