I have a situation where first I have to fire a json request to get the authorization key and then I have to use the key for other json request. how to get the header values in the json response to a variable.
Pls find the postman screen shot.
Have you tried this?
You will get all the headers into a dictionary type variable and you will get the authorization header as header(“authorization”)… header is the variable name i used here
Yeah, 400 states that there is issue with the request, if you get 200 status code, then the request is processed correctly. I hope you know all these. If not, Try google the error codes and the status codes. You will understand a bit… …
As per the screenshot and status, the request is bad. Please check @me.mohanraj
I cannot get the code as 200, again and again I am getting the 400 as status code. There is no request. only endpoint url:
" http://10.XXX.XXX.XXX:80/rest/Authentication "
If I hot this I can get the header . There is no Response in the BODY. only the headers I can get. Is there any other way to handle this. pls help me out…
You will get this for sure in UiPath as well @me.mohanraj,
Please make sure you are trying with the same creds and URL as in the postman… Drag the http activity and give the essential parameters and preview the response. There you will get what was the mistake you are doing.
You are giving the credentials in the headers in the postman, so, you have to give the credentials in the headers as the request is build based on the header params. You dont need to use any authentication @me.mohanraj
Hope the server is down, that’s the reason I am getting 401… Hope this should work when Backend is up… I will post you the status once environment is up…
I am trying to connect Oracle DB… do you have any idea reg the connection string to connect UI with Oracle… I tried with the options that I get from UIpath community forum… but all Vien…