Raw data in Http Request escaped

Copper Contributor

When I try to do an http-request from Copilot Studio, using a variable containing JSON-data, the data is escaped, so the json is invalid.

Situation: I have a variable containing a JSON-string, like: { "Option1": "test" }. When I try to post this as the body of my http-request POST, the data is escaped and send as { \"Option1\": \"test\" }. Is there any way to prevent this behavior? When I enter the same json-string directly it doesn't do the escaping.

GerhardM190_2-1721032286189.png

 

 

 

0 Replies