How to send www-x-form-urlencoded data in body?

Hi,

I am trying to send a body of content type : www-x-form-urlencoded in the Rest API connection. In the media type dropdown, I chose "URL encoded". Though, it gives me an error saying that you should provide a valid JSON.I tried with Postman and it worked fine.So, I wish to know, if there is some different way to send the urlencoded body. 

www-x-form-urlencoded body: grant_type=abc&scope=xyz

Thanks

0

Comments

1 comment
Date Votes
  • Please configure the body as JSON

    Ex: - 

    {

      "grant_type": "abc",

      "scope": "xyz"

    }

    Provide the screen-shots of the connection configuration and postman request if this doesn't work.

    0

Please sign in to leave a comment.

 

Didn't find what you were looking for?

New post