Post json object using rest API

Hi
I have a json object which I have created as per snapshot , now I want to post this Rest API (HTTP Request)

In other words I want to post my json . Is there any other alternative way to do it?

How can I do it HTTP Request activity.

In the HTTP Request (remember to have the uipath.web.activities package installed) change the Request Method to Post and then under Parameter add a Parameter. In name chose the one specified in you API Documentation. In Text you put the content of your JSON (/as a variable). Enjoy :slight_smile:

I have nested josn . so I am not able to get how to add parameters.
Can you please post an example?
Thanks in advance

Have you tried passing the serialized JSON to the Body property of the HTTP Request activity?

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