# See POST string generated by Postman

**URL:** <https://community.postman.com/t/see-post-string-generated-by-postman/15769>\
**Category:** Help Hub\
**Created:** [September 10, 2020, 8:46pm UTC](https://community.postman.com/t/see-post-string-generated-by-postman/15769 "2020-09-10T20:46:49Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnz30](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@johnz30](https://community.postman.com/u/johnz30)\
**Post date:** [September 10, 2020, 8:46pm UTC](https://community.postman.com/t/see-post-string-generated-by-postman/15769/1 "2020-09-10T20:46:49Z")

</div>

I can’t find what I need. In an old application, I have a POST generated in [VB.NET](http://VB.NET) which has worked fine for a number of years. I recently moved my web site to a new, more secure hosting provider. The data from the [VB.NET](http://VB.NET) generated POST is not being seen by the .aspx page. However if I enter the same data in Postman, it is read and accepted without difficulty.

I am probably missing something obvious but how can I see what Postman is generated so that I can compare it to my VB.NET-generated POST?

Thanks.

John

---

<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:** [September 11, 2020, 10:40am UTC](https://community.postman.com/t/see-post-string-generated-by-postman/15769/2 "2020-09-11T10:40:27Z")

</div>

Hey @johnz30

Welcome to the Postman community! 🚀

I’m honestly not sure _what_ a [VB.NET](http://VB.NET) Post request would even look like but there’s a `Code` feature in the app that creates a snippet in various different languages that might get you closer to how Postman creates that request.

https://www.youtube.com/embed/VTtS4-r2oSs?feature=oembed&wmode=opaque&list=PLM-7VG-sgbtCAVye9nmD5fzKGlnZ-hs-T

You could also look at the request in the Postman Console to see exactly what is set in the different areas that are used to send the request.

![Screenshot 2020-09-11 at 11.39.59](https://us1.discourse-cdn.com/getpostman/original/3X/c/4/c4ef29f124634f8fb65e0d893f1448ba2944b2d8.png)

---

<div class="post-metadata">

**Author:** ![odanylewycz](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/odanylewycz/32/3240_2.png) [@odanylewycz](https://community.postman.com/u/odanylewycz)\
**Post date:** [September 11, 2020, 12:43pm UTC](https://community.postman.com/t/see-post-string-generated-by-postman/15769/3 "2020-09-11T12:43:52Z")

</div>

Hi @johnz30!

Welcome to the community! 👏

So if you want to do a direct comparison in [VB.NET](http://VB.NET), there isnt an exact way to generate that code. You can generate C# code, which apparently uses the RestSharp library, and thats the closest you’ll get.

Moreever, the best way to truly address this problem is by doing a packet capture. Ideally, the way you test it out is by doing a packet capture when sending a POST request from your [VB.NET](http://VB.NET) application, and a POST request using Postman. You should be able to see any differences in the packet capture. Most likely, you’re missing some headers, but I can’t confirm that is the case.

Ideally, generate a raw http request from both and do a direct comparison that way, your answer should lie in there.

Otherwise, do you have any error messages you can show us that’ll provide more guidance?

Best,  
Orest

---

<div class="post-metadata">

**Author:** ![johnz30](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@johnz30](https://community.postman.com/u/johnz30)\
**Post date:** [September 11, 2020, 2:41pm UTC](https://community.postman.com/t/see-post-string-generated-by-postman/15769/4 "2020-09-11T14:41:42Z")

</div>

Hey, thanks for the replies. The console is _very_ helpful. In fact, Postman itself has been terrifically helpful! I had to change hosting providers for my web site, since the previous supplier wouldn’t update TLS 1.0. Everything was working fine on the old site so I suspect there is a security issue with the new site. The basic problem is when I try to read the POST via Request.Form, in a code behind aspx page, which worked perfectly in the past, the results are all null. However, the site reads the same body components from Postman without a problem.

I matched the code (using httpwebrequest) to the Postman headers and all looks ok. Perhaps I don’t have the correct separators between the elements in the POST body?

Thanks again,

John

---

<div class="post-metadata">

**Author:** ![johnz30](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@johnz30](https://community.postman.com/u/johnz30)\
**Post date:** [September 11, 2020, 3:04pm UTC](https://community.postman.com/t/see-post-string-generated-by-postman/15769/5 "2020-09-11T15:04:10Z")

</div>

Hi Danny,

For some reason, I don’t get the code option on the right side of the window, as illustrated in the video. I’m probably missing something obvious but no luck so far.

---

<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:** [September 11, 2020, 3:11pm UTC](https://community.postman.com/t/see-post-string-generated-by-postman/15769/6 "2020-09-11T15:11:40Z")

</div>

Hmm…that’s strange. Which version of the app are you using?

---

<div class="post-metadata">

**Author:** ![johnz30](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@johnz30](https://community.postman.com/u/johnz30)\
**Post date:** [September 11, 2020, 3:38pm UTC](https://community.postman.com/t/see-post-string-generated-by-postman/15769/7 "2020-09-11T15:38:34Z")

</div>

Using 7.32. Upon starting, I briefly see the “code” option but it disappears.

---

<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:** [September 11, 2020, 3:50pm UTC](https://community.postman.com/t/see-post-string-generated-by-postman/15769/8 "2020-09-11T15:50:51Z")

</div>

Would you be able to post a screenshot of that, please?

---

<div class="post-metadata">

**Author:** ![johnz30](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@johnz30](https://community.postman.com/u/johnz30)\
**Post date:** [September 11, 2020, 3:53pm UTC](https://community.postman.com/t/see-post-string-generated-by-postman/15769/9 "2020-09-11T15:53:26Z")

</div>

![Screen Shot 2020-09-11 at 8.52.43 AM](https://us1.discourse-cdn.com/getpostman/original/3X/b/2/b209a2c32ed6cc15501060b0735ed963275bfd0e.jpeg)

---

<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:** [September 11, 2020, 4:01pm UTC](https://community.postman.com/t/see-post-string-generated-by-postman/15769/10 "2020-09-11T16:01:34Z")

</div>

Ok - So as you’re in 2 pane view - The `Cookies` and `Code` option will be behind the 3 dots to the right of Settings.

If you were to drag the request builder to the right a little bit more, you would see the Code label.

---

<div class="post-metadata">

**Author:** ![johnz30](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@johnz30](https://community.postman.com/u/johnz30)\
**Post date:** [September 11, 2020, 4:03pm UTC](https://community.postman.com/t/see-post-string-generated-by-postman/15769/11 "2020-09-11T16:03:15Z")

</div>

Aha, Thanks a lot! I knew I was doing something dumb!
