I have this json payload for post request :{“name”:“test”,“salary”:“123”,“age”:“23”}. I wanted to parameterize it. So I assign 1 variable to each like for nameto=test, salaryto=123, ageto= 23 and payload body will look like “{”“name”“:”“{nameto}”“,”“salary”“:”“{salaryto}”“,”“age”“:”“{ageto}”“}”. But when I run this POST request it is not able to fetch the variable value assign to it. I am using “Httprequest” activity. Could anyone please provide update on same.
Related Topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Unable to send payload for HTTP post request | 12 | 3787 | June 22, 2021 | |
UiPath Add variable JSON body for HTTP request | 11 | 1959 | August 14, 2021 | |
How to add parameters ( existing varaibles ) in HTTP request in UiPath | 3 | 2428 | August 1, 2020 | |
Passing Json body in HTTP request not working | 22 | 3173 | June 30, 2021 | |
Unable to assign json payload with parameters to a variable | 1 | 612 | September 30, 2022 |