Pass 'x-www-form-urlencoded' body to Uipath HTTP Request activity

Hi All,

This question is asked several times in forum however even after checking the solutions, I am still struggling to replicate my successful postman API call using UiPath ‘HTTP Request’ activity. Can you please assist me with this issue.

Below are the snapshots of my header and body in postman. The Params tab in postman is empty.

Body

Header

Thanks,
Kapil

Hi!

Maybe this thread can help you
How to send a POST request with BodyFormat: application/x-www-form-urlencoded in HTTP Request activity? - Help / Studio - UiPath Community Forum

For issues of this type, it helps to use a service like this one with some dummy data: https://webhook.site/
You can then quickly and visually observe any differences when you send a request from both Postman and Studio.

Other than this, it would help to note the configuration of your HTTP request to be able to help further.

Hi @loginerror ,

Please find below the configuration of my HTTP Request activity.

Headers: Blank


Parameters

Thanks,
Kapil

Hi!

Is this a POST or a GET you want to do?
In UiPath you’re using GET


In postman you’re using POST

Hi @sven.wullum1 , it should be post as it is working in Postman. I noticed the same after my response and tried with Post in UiPath, but it didn’t work.

Maybe you should provide us with the status code and error message you receive?

Passing the body in params section worked for me!

1 Like