Hi,I want to send a request body to a API method which contains ,1. client_id :4875dnfdg675862. client_secret :3754gfgf3.grant_type:client_credentialsI have kept media type as "application/x-www-form-urlencoded" and enabled the "Post Query String".Observed error as missing grant type.Please refer attached SS.
I do have similar problem when I try to get tokeb using Media-Type : 'x-www-form-urlencoded'
and below is my format
ITs REST POST CMD withh body of type 'x-www-form-urlencoded'. It works perfect in POSTMAN.
Would like to know what is the format need to be sent along the body of type 'x-www-form-urlencoded' to get token.
Appreciate quick help
Format to be sent in request body as ,
Content -Type as - application/x-www-form-urlencoded
Uncheck - Post Query String checkbox
Add headers as ,
Content-Type , application/x-www-form-urlencoded.
This will work for sure.
Works like charm. Thanks @divyarani