DaveWagoner
Reputable Poster
See image below. I'm trying to pass an entire valid JSON string to the body of a local AIS REST POST call. When I do this, I get a maddening error. The error I'm getting is "SyntaxError: Unexpected token '$', "${dave}" is not valid JSON"
Using vars within the body of other json in the body works (such as media obj REST posts), but it seems I'm running into where just using the entire body as a variable is not working. Anyone run into this? In the example below, the body var is just called ${dave}, and I'm passing in a valid JSON string that works directly via Postman, for instance.
We're on 9.2.5.4 which is a few tools releases behind current, so "dave, you idiot, this is fixed in 9.2.6" is a valid response to my question.
Using vars within the body of other json in the body works (such as media obj REST posts), but it seems I'm running into where just using the entire body as a variable is not working. Anyone run into this? In the example below, the body var is just called ${dave}, and I'm passing in a valid JSON string that works directly via Postman, for instance.
We're on 9.2.5.4 which is a few tools releases behind current, so "dave, you idiot, this is fixed in 9.2.6" is a valid response to my question.