# Special characters in the request body

**URL:** <https://community.postman.com/t/special-characters-in-the-request-body/58807>\
**Category:** Help Hub\
**Tags:** variables, request, templates\
**Created:** [March 13, 2024, 9:21pm UTC](https://community.postman.com/t/special-characters-in-the-request-body/58807 "2024-03-13T21:21:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lunar-module-cosmol9](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/lunar-module-cosmol9/32/27837_2.png) [@lunar-module-cosmol9](https://community.postman.com/u/lunar-module-cosmol9)\
**Post date:** [March 13, 2024, 9:21pm UTC](https://community.postman.com/t/special-characters-in-the-request-body/58807/1 "2024-03-13T21:21:48Z")

</div>

Hi all,

My API request accepts handlebar template in the request body as below

```auto
{
    "id": 1,
    "message": "Hello {{firstName}}"
}

```

In the example above, {{firstName}} is not a postman variable and should be sent to backend API as it is.

Can you help me to achieve this?

Regards,  
Lucky

---

<div class="post-metadata">

**Author:** ![ddegey](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/ddegey/32/27840_2.png) [@ddegey](https://community.postman.com/u/ddegey)\
**Post date:** [March 14, 2024, 5:56am UTC](https://community.postman.com/t/special-characters-in-the-request-body/58807/2 "2024-03-14T05:56:22Z")

</div>

Hi @lunar-module-cosmol9,

You could try to add a whitespace before and after firstName.  
Seems like postman does not interpret {{ varName }} but just {{varName}} without any whitespace.

Best

Didier

---

<div class="post-metadata">

**Author:** ![gbadebo-bello](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/gbadebo-bello/32/12175_2.png) [@gbadebo-bello](https://community.postman.com/u/gbadebo-bello)\
**Post date:** [March 15, 2024, 10:42am UTC](https://community.postman.com/t/special-characters-in-the-request-body/58807/3 "2024-03-15T10:42:31Z")

</div>

@lunar-module-cosmol9. In addition, you can store **firstName** as a collection variable with a value of **{{firstName}}**. So even if Postman reads it as a Postman Variable, you still get the correct thing parsed.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [April 14, 2024, 10:42am UTC](https://community.postman.com/t/special-characters-in-the-request-body/58807/4 "2024-04-14T10:42:40Z")

</div>

Closed on April 14, 2024, 10:42am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
