When i do this with uipath http request, only “get request (200 status)” headers will shown me. But i need “post request’s (302 status)” headers to get token. So i need to do this without redirects or i need to take header before redirect. Reviewing the documentation for UiPath.WebAPI.Activities.HttpClient there is no option to disable the following of the redirection. So may be add a checkbox to properties window to disable the redirect.
I’m facing a simular issue now where I’m making a GET api call and getting redirected with a 302. It’s using AD authentication and the original API isn’t forwarding my authentication to the newer one.
Provinding the users credentials in the username / passwords fields doesn’t help, but when i have the redirect link I could authenticate directly and it works.
Any recommendations or solutions on how this could be handled?