Post Data From UiPath to Endpoint

Hi,

I have a Json like below.

“itemData”: {
“Name”: “UserQueue”,
“Priority”: “Normal”,
“SpecificContent”: {
“URL of site”: “Test”,
“Name of User”: “John Doe”,
“Email Address”: “JohnDoe@gmail.com”,
“CallbackURL”: “Test”,
“SendEmail”: “false”
},

    "Reference": "11011"
   
}

}

I have to post it to an endpoint.

When I try to assign this value to a string it gives me error. I have to add it to the body of the HTTP request activity.

Can anyone help me how to handle this?

@ppr @supermanPunch

Hi,
What is the error that you are getting?

Also the input that you have - is it of type JSON object (Jobject), if yes, a ToString() call should convert this into a string