How to pass application/x-www-form-urlencoded in POST body in HTTP method of outbound REST message
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2024 07:51 AM
Hi,
How to pass application/x-www-form-urlencoded in POST body in HTTP method of outbound REST message
in this
Regards,
Aditya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2024 09:31 AM
Hi @aditya174 ,
It should be application/x-www-form-urlencoded
You are doing it right.
The issue is with the content that you are passing-
Ensure in the body you store in the below format-
grant_type=client_credentials&client_id=xxxxxxxxxxxxxxxxxxx&client_secret=xxxxxxxxxxxxxxxxxxx&scope=xxxxxxxxxxxxxxxxxxx&username=xxxxxxxxxxxxxxxxxxx&password=xxxxxxxxxxxxxxxxxxx
If my response has resolved your query, please consider giving it a thumbs up and marking it as the correct answer!
Thanks & Regards,
Sanjay Kumar