# Preview request?

**URL:** <https://community.postman.com/t/preview-request/20077>\
**Category:** Help Hub\
**Created:** [February 5, 2021, 12:23pm UTC](https://community.postman.com/t/preview-request/20077 "2021-02-05T12:23:50Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![gubikmic](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/gubikmic/32/7266_2.png) [@gubikmic](https://community.postman.com/u/gubikmic)\
**Post date:** [February 5, 2021, 12:23pm UTC](https://community.postman.com/t/preview-request/20077/1 "2021-02-05T12:23:50Z")

</div>

Is there a way to preview a POST request with a bunch of variables and a pre-request-script?

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [February 5, 2021, 12:53pm UTC](https://community.postman.com/t/preview-request/20077/2 "2021-02-05T12:53:31Z")

</div>

Hey @gubikmic

How are you defining ‘preview’ here?

---

<div class="post-metadata">

**Author:** ![gubikmic](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/gubikmic/32/7266_2.png) [@gubikmic](https://community.postman.com/u/gubikmic)\
**Post date:** [February 5, 2021, 1:15pm UTC](https://community.postman.com/t/preview-request/20077/3 "2021-02-05T13:15:08Z")

</div>

See the request body before it’s sent to the server, to make sure variables are formatted and set correctly.

---

<div class="post-metadata">

**Author:** ![pranavdavar](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/pranavdavar/32/9152_2.png) [@pranavdavar](https://community.postman.com/u/pranavdavar)\
**Post date:** [February 6, 2021, 4:11am UTC](https://community.postman.com/t/preview-request/20077/4 "2021-02-06T04:11:42Z")

</div>

Generally I change the url and make it invalid. So that it doesn’t reach the server and open postman consoles to see whether all values are populated correctly.

Hope this helps.

---

<div class="post-metadata">

**Author:** ![mainent](https://avatars.discourse-cdn.com/v4/letter/m/eb9ed0/32.png) [@mainent](https://community.postman.com/u/mainent)\
**Post date:** [May 13, 2022, 3:15pm UTC](https://community.postman.com/t/preview-request/20077/5 "2022-05-13T15:15:17Z")

</div>

I apologize in advance if it exists and I just have not found it, but I did search this community and found this threat before starting a new one. 😀

FWIW, I would also love to see a “Preview” button that reveals variable values in a request before sending it. Something like the Beautify button.

In the meantime, thank you @pranavdavar for the workaround idea!

As long as our URI is an environment variable, it should be possible to create a “dummy environment” to quickly make the URI invalid and revert it back. I suppose undo and redo CTRL-Z/CTRL-Y might work too.

---

<div class="post-metadata">

**Author:** ![85ofpet4a](https://avatars.discourse-cdn.com/v4/letter/8/8e7dd6/32.png) [@85ofpet4a](https://community.postman.com/u/85ofpet4a)\
**Post date:** [May 17, 2022, 7:16am UTC](https://community.postman.com/t/preview-request/20077/6 "2022-05-17T07:16:11Z")

</div>

@gubikmic

prepend [https://req.dothttp.dev/](https://req.dothttp.dev/) to url and see response.

above service acts like a mirror and generates curl request.

For example:

```http
GET https://req.dothttp.dev/https://httpbin.org/get
Some-Header: Some-Value

```

response will be like

```nohighlight
curl -X GET "https://httpbin.org/get" \
    -H "connection: Keep-Alive" \
    -H "accept-encoding: identity" \
    -H "user-agent: python-urllib3/1.26.5" \
    -H "some-header: Some-Value" \
    -H "client-ip: 10.0.128.19:43282" \

```

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [August 22, 2023, 9:37am UTC](https://community.postman.com/t/preview-request/20077/7 "2023-08-22T09:37:19Z")

</div>

Closed on August 22, 2023, 9:37am UTC


