I’ve created a HTTP POST synthetic call to an application that uses json payloads for the requests. When entering the request body with valid json, I can see in the subsequent calls that Dynatrace is adding in escape characters for the double quotes in the json, i.e. ‘\"’. The application is reading this rejects the request as the json is not well formed. I’ve separately testing the json request payload successfully.
Looking at the request body in script mode it looks like the script is itself json with the requestBody field attempting to add the request payload using the escaped double quotes. Is there a means of using a json request payload with a HTTP synthetic call without corrupting the json? Or possibly a means of adding the json payload into the prerequest script and calling it as a json object in the requestBody to avoid the escape characters?