I’m trying to consume an API that uses Digest as authentication method, but I keep getting status code 401 - Unautorized.
Iv’e tried passing my username and password both as simple authentication and as parameters in the call.
Can anyone give xaml examples on how to access a webservice that requires Digest MD5 authentication.
@Michaeljep - there could be some headers missing between soapui & uipath
Can you run fiddler and execute api in soapui & http request - get the complete header/body details … based on that we can set the correct/missing objects in uipath httprequest.
I still haven’t solved this issue, where does it go wrong.
The API I’m trying to access uses Digest - MD5-sess authentication. As I see it, Postman fills in the “missing” headers upon the second request which Uipath doesn’t - at least thats my assumption as I only get a 401 Unauthorized response.
I have tried reading Postmans explanations to the authentication, and tried to type in the missing headers in Uipath, but still no luck.
Then I have tried as below
Make the request and got the response header
Extracted the WWW-Authentication and assigned it to a variable
And send it back in the second request - This time I get an 400 Bad request error instead of 401 unauthorized.
I was thinking if the response header should be split into these fields, instead of the approach I have tried.