How to send a POST request with BodyFormat: application/x-www-form-urlencoded in HTTP Request activity?

Hi,

I am trying to send some parameters to body using “x www form-urlencoded” in http request. I’m unable to understand how to pass the parameters?

image

Can any one please help me. I’m successfully getting response using Postman, but while using http request in UiPath, I tried passing it as a JSON in the body and it times out.

image

The format of strBody is as below

image

I have replaced the variables with correct value. Still getting timed out.

I’m new to http request, can anyone please explain me in details where I’m doing the mistake?

Thanks and Regards,
Meghdut

Example:

Body: empty
BodyFormat: application/x-www-form-urlencoded
Header: empty

Parameters:

Let us know if this example helped you.

7 Likes

Hi @marian.platonov

Thanks for your quick reply. It resolved the issue and the call is successful.

May I bother you more please?

In Postman, after the call I get the values inside cookies which I need to proceed with other successive calls. It looks like below

How do I get these values from UiPath Http request? The result doesn’t hold this values!!

Please help me. Thanks in advance.
Meghdut

Try to search in other thread posts to see if someone else had already this requirement. If you cannot find it, raise a separate thread post.

Thanks for understanding.

Thanks @marian.platonov . I searched across the forum and had found Get cookies from httpRequest response which is incomplete, but anyways I’ll create a separate post for this. Thanks again for your support.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.