I’m using this Custom headers and JSON Parameters in Automation Anywhere. I need the Help with passing same headers and JSON Parameters in UiPath. I’m using Rest Web service put method.
Hi @akash_patel ,
Welcome to the community.
Can you please specify which activity you are using.
Thanks
Payload will go in Body section and Headers in Headers Section.
Thanks
Could you please give me a example, i am keep getting error in the header and Body “Compiler error(S)”
Hi @akash_patel
Following is a POST example (similar to PUT) is an authentication API call with JSON body:
Hope it helps as an example
I have sent JSON Body with using HTTP Request / Put in UiPath and received an error “HTTP 400 error invalid request”. This service is working properly using SoapUI.
Sent body data as follows:
{
“AccID”: “534820”,
“"AccTy”:“{
“NewAccTy”: “345”,
“SubAccTy”: “374”,
}
}
Do you have any idea about this.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.