# Can you still not escape variable substitution (double brackets)?

**URL:** <https://community.postman.com/t/can-you-still-not-escape-variable-substitution-double-brackets/37828>\
**Category:** Help Hub\
**Tags:** api, postman-api\
**Created:** [August 3, 2022, 10:35am UTC](https://community.postman.com/t/can-you-still-not-escape-variable-substitution-double-brackets/37828 "2022-08-03T10:35:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![research-administrat](https://avatars.discourse-cdn.com/v4/letter/r/a698b9/32.png) [@research-administrat](https://community.postman.com/u/research-administrat)\
**Post date:** [August 3, 2022, 10:35am UTC](https://community.postman.com/t/can-you-still-not-escape-variable-substitution-double-brackets/37828/1 "2022-08-03T10:35:34Z")

</div>

Say you want to create a request with the postman-api using the url `{{base_url}}/myEndpoint` which either points to production or staging depending on your environment.

Can’t you escape the curly braces so that the created request points to `{{base_url}}` instead of pointing to the substituted value?

I found some 2 years old topics on this where they landed on this being impossible—asking again, just in case this has been made possible since.

---

<div class="post-metadata">

**Author:** ![w4dd325](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/w4dd325/32/12436_2.png) [@w4dd325](https://community.postman.com/u/w4dd325)\
**Post date:** [August 3, 2022, 10:51am UTC](https://community.postman.com/t/can-you-still-not-escape-variable-substitution-double-brackets/37828/2 "2022-08-03T10:51:35Z")

</div>

Hi @research-administrat

Not sure I understand your question…

Why would you want the request to point to {{base\_url}} and a plain text value?

---

<div class="post-metadata">

**Author:** ![research-administrat](https://avatars.discourse-cdn.com/v4/letter/r/a698b9/32.png) [@research-administrat](https://community.postman.com/u/research-administrat)\
**Post date:** [August 3, 2022, 11:26am UTC](https://community.postman.com/t/can-you-still-not-escape-variable-substitution-double-brackets/37828/3 "2022-08-03T11:26:12Z")

</div>

staging: `{{base_url}} = https://my-staging-server.com`  
prod: `{{base_url}} = https://my-production-server.com`

I want the request created by the postman-api PUT in the attached screenshot to create a request in the Auto-collection, where you can switch between staging and prod in the created Request.

If I send the payload in the attached screenshot however, the created request will point to the substituted value of {{base\_url}}, and switching environments won’t affect the URL the created request points to.

Did that make sense?

 ![Screenshot 2022-08-03 at 13.21.53](https://us1.discourse-cdn.com/getpostman/original/3X/c/a/ca52df70185727a10a0b704808105394fc1107c1.png)
