REST API: How to add "grant_type" parameter to HTTP GET request
Application Type
Traditional Web
Platform Version
11.7.3.19176

Hi,

I'm trying to use the REST API. The GetToken method uses a HTTP GET which request requires a parameter "grant_type=password". I can´t find a way to define that parameter in the GET command. I´m receiving the error message   "unsupported_grant_type" as you can see in the image below.



Any clue?

Thank you

Hi Paulo Sousa,

Hope you are doing well. Your Http Get requires parameter then your URL should be like below- 

https://portal-syncpt.gs1pt.org/Token?grant_type={password}

Please apply it.  You need to provide URL parameter value when you will test. 


Hope this help.

Regards,

Rahul



Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.