I am using http request and I need to do a request with a custom url segment.
I’ve been looking around for the solution, but whatever I tried, it didn’t work until now.
The URL works in postman, but it doens’t work in uipath.
I’ve been experimenting with parameters, adding url segment, assembling the url before the http request… all unsuccesful…
I tried all those. The only thing I need to add are the headers from postman. But in postman I only specified endpoint, method (get), authorisation and the URL segment (variableToSearch).
In the initial Postman request, I saw that you didn’t use Authentification, but in the HTTP Request activity, you are using it.
Definitely, you are not configuring correctly the HTTP Request activity as in Postman.
Try to put back the SSL verification to True and increase the Timeout to 2 minutes and then decrease gradually its value to match your system network latency.
Did you install the UiPath Studio in Service Mode?
Are you having a proxy in the Studio machine?
We’ll update to 2022.4.4 in a few weeks. Until than, I’ve updated to 21.10.5
But I’ve been incresed and decreased the versions of web.api packages. Still couldn’t succesfully do this http request.
I’ve not update to 21.10.95 and it still doesn’t work.
I’ll experiment a bit more and if I find the solution soon, I’ll write it here.
Else I’ll give up today…
If you have some new suggestions, I’ll be happy to hear them.
Anyway thank you a lot for your support.
Much appreciated!
Andreea
There was no solution.
Some partners reached to the owner of the api and found that, when making the call to the api, the api was redirecting to another link and couldn’t take the token with it.
I found a different solution, and that was to add the letter “q” at the end of the call:
https://{rest}/cases?q={casenumber}