# How to add Actual request body in pre-request script without using environment variable

**URL:** <https://community.postman.com/t/how-to-add-actual-request-body-in-pre-request-script-without-using-environment-variable/14893>\
**Category:** Help Hub\
**Created:** [August 11, 2020, 7:39am UTC](https://community.postman.com/t/how-to-add-actual-request-body-in-pre-request-script-without-using-environment-variable/14893 "2020-08-11T07:39:54Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![apalani2](https://avatars.discourse-cdn.com/v4/letter/a/a698b9/32.png) [@apalani2](https://community.postman.com/u/apalani2)\
**Post date:** [August 12, 2020, 4:02pm UTC](https://community.postman.com/t/how-to-add-actual-request-body-in-pre-request-script-without-using-environment-variable/14893/6 "2020-08-12T16:02:47Z")

</div>

New thread created:

> [@Add request body in pre-request script based on the Environmental values](https://community.postman.com/t/add-request-body-in-pre-request-script-based-on-the-environmental-values/14971):
>
> Based on the Environment variable(conditionally) Option A, B, or C, I have to take a different request. How to achieve that? option A: { "profile": { "firstname": "firstname", "lastname": "lastname", \*\*"mobile" : "{{mobile}}"\*\* } } option c: { "profile": { "firstname": "firstname", "lastname": "lastname", \*\*"email": "{{email}}",\*\* \*\*"mobile" : "{{mobile}}"\*\* } } Option B: { "profile": { "firstname": "firstname"…

---

_[View the full topic](https://community.postman.com/t/how-to-add-actual-request-body-in-pre-request-script-without-using-environment-variable/14893)._
