Accept Header is not working in HTTP Request in Uipath

I am also facing issue in headers in http request in UiPath. I want to unmask the value. But it is not impacting . I used “Accept: application/json;masked=false;” . It is working fine in postman header but in UiPath it is not working. Can you please help me for this?

@chawlasonia05

did you try using masked as a separate line in the header field and check?

or simply you can copy the curl from postman and paste it in the imports panel in http request activity

cheers

cheers

and also tried copy curl from postman. But no luck

@chawlasonia05

was it throwing any error or the output is not as expected?

cheers

Hi Anil,
Thanks for reply.
I have tried masked in separate line in headers in UiPath. But it is not working.


[/quote]

I want to unmask the value so i am using “Accept:application/json;masked=false” . In Postman, It is working fine but in UiPath it is not working

@chawlasonia05

as asked earlier…when you say not working does it mean the bot is throwing error or is the output that it is giving is in a format which is not expected

cheers

The Format which is not expected. Not throwing any exception

Can you please help me for this issue?

@chawlasonia05

can you share the api details here

cheers

that’s confidential.

@chawlasonia05

Try with

image

with and without usign accept in the header with masked

cheers

A big thank you @Anil_G . Its working now.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.