I have been working on a Web (HTML/HTTP) script wherein there is a step to validate the action by entering the password to approve certain doc.
The step is failing due to 401 Error. When dug deeper,the authorization token "Authorization:Basic aXRlc3QwMDE6SlZuS1NYU14=" is getting passed.
Tried correlating it, but as it is generated at the client side after i click on Approve in the application, it cannot be correlated. The value is changing every time i try to approve a doc. Is there any way to capture the Authorization value from the Request Header and pass it in the same request? Or is this the limitation with the Web protocol?
I added this header since i was unable to correlate the value.. web_add_header("Authorization","Basic aXRlc3QwMDE6SlZuS1NYU14=");
This is the error i am getting
"HTTP Status-Code=401 (Unauthorized) for "https:***********************"
Appreciate your responses!!
Thanks, RAK