# Escape characters added when submitting synthetic HTTP POST call with json request body

**URL:** <https://community.dynatrace.com/t/escape-characters-added-when-submitting-synthetic-http-post-call-with-json-request-body/46447>\
**Category:** Synthetic Monitoring\
**Tags:** json, http-monitor, synthetic-monitoring\
**Created:** [July 3, 2024, 3:07pm UTC](https://community.dynatrace.com/t/escape-characters-added-when-submitting-synthetic-http-post-call-with-json-request-body/46447 "2024-07-03T15:07:43Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![hannahmac](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/hannahmac/32/41823_2.png) [@hannahmac](https://community.dynatrace.com/u/hannahmac)\
**Post date:** [July 4, 2024, 8:00am UTC](https://community.dynatrace.com/t/escape-characters-added-when-submitting-synthetic-http-post-call-with-json-request-body/46447/2 "2024-07-04T08:00:13Z")

</div>

You can manipulate and set the request body in pre-request scripts using

```markup
request.setBody(requestBody)

```

using&nbsp;[Pre- and post-execution scripts for HTTP monitors in Classic — Dynatrace Docs](https://docs.dynatrace.com/docs/shortlink/http-monitor-pre-post-script#pre-execution)

---

_[View the full topic](https://community.dynatrace.com/t/escape-characters-added-when-submitting-synthetic-http-post-call-with-json-request-body/46447)._
