Hi everyone,
So I have a SoapUI project that executes a POST call that I’m trying to replicate in UiPath using the HTTP activity.
The SoapUI POST call looks like this:
Endpoint:
Parameters:
Media Type: application/x-www-form-urlencoded, and in the body section I’m passing a token variable that is obtained in a previous API call:
Headers:
The cookie header is also obtained in a previous API call, so consider the token and cookie values our variables.
Expected outcome should be status code 200 along with the response header “Set-Cookie”, like so:
So, in UiPath I have successfully replicated the API calls needed to obtain the token and cookie values and I am now trying to replicate the POST call I have presented, but so far unsuccessfully.
UiPath configs:
Endpoint:
Parameters:
Media Type:
Body:
Headers:
When executed, the activity just returns the status code 0.
If I copy the cookie and token values that are passed to UiPath and paste them in SoapUI, it will run correctly and that tells me the problem must be a UiPath configuration, but at this point I’m not sure what to change.
Any thoughts would be greatly appreciated.
Thank you!