I am getting unsupported_grant_type error while trying to get an access token from SalesForce URL through the pub.client:http from SoftwareAG. But if I try the same from Postman, it’s returning the Access Token. Below is how I am passing the parameters to the pub.client:http.
I am passing in the values as shown above.
method = post
auth : type = bearer (also tried empty)
auth: user = empty
headers : content_type = application/json
grant_type = password
client_id = entered
client_secret = entered
username = entered
password = entered
But it gives unsupported_grant_type error while invoking this service. Can you please let me know if there is anything I am missing?