No matter what I do, my JSON payload to add assets gets all “ chars in the expression modified to \” when the webrequest is sent. How do I stop this?
I have a list of display ids… d 8, 9 ] in an expression builder, which I manipulate using string functions to { “assets”: a { “display_id”: 8 }, { “display_id”: 9 } ] } - this the result from the Test Expression. When I try to use the expression value as the payload body, I get a 405 error and my payload looks like { \”assets\”: l { \”display_id\”: 8 }, { \”display_id\”: 9 } ] }
I tried reducing the size of the expression so that the payload looked like
{
“assets”: { “display_id”: {{E14.result}} } ] }
}
this also produces a 405 with the expression portion having the “ converted to \”.
I also tried a modified version of the expression then using {{E14.result | replace: ‘display_id’,’”display_id”’}} but this produces again a 405 with the same invalid payload
please help - thanks