# Post and put dont appear in body

**URL:** <https://community.postman.com/t/post-and-put-dont-appear-in-body/53563>\
**Category:** Help Hub\
**Tags:** tests\
**Created:** [October 21, 2023, 11:20pm UTC](https://community.postman.com/t/post-and-put-dont-appear-in-body/53563 "2023-10-21T23:20:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![avionics-astronomer1](https://avatars.discourse-cdn.com/v4/letter/a/e47c2d/32.png) [@avionics-astronomer1](https://community.postman.com/u/avionics-astronomer1)\
**Post date:** [October 21, 2023, 11:20pm UTC](https://community.postman.com/t/post-and-put-dont-appear-in-body/53563/1 "2023-10-21T23:20:41Z")

</div>

Hello, I have a problem in postman, when I access the post or put method, it returns error 400 and nothing appears in the body.

I thought it might be an error in the application, but when running on Swagger it works normally.

Postman was working normally and out of nowhere this happened, I already defined the header for application-type json again and it doesn’t work.

The get and delete method works normally.

[ASP.NET](http://ASP.NET) Core Web API Project

 ![j2sgt](https://us1.discourse-cdn.com/getpostman/original/3X/3/1/3128d62ca9116fb6aabc927950f4611b6ce7d7bb.png)  
 ![sGlcw](https://us1.discourse-cdn.com/getpostman/original/3X/7/b/7be677264a40b05afbf58b1aeb446ca1c9dad143.png)

---

<div class="post-metadata">

**Author:** ![michaelderekjones](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/michaelderekjones/32/14819_2.png) [@michaelderekjones](https://community.postman.com/u/michaelderekjones)\
**Post date:** [October 22, 2023, 2:25pm UTC](https://community.postman.com/t/post-and-put-dont-appear-in-body/53563/2 "2023-10-22T14:25:57Z")

</div>

Surely if you are setting the content-type as JSON, then you need to send a JSON body. You can’t just leave the body blank!

I would expect the API to return an error in this situation.

Or are you saying that you used to have a JSON body and its gone?

---

<div class="post-metadata">

**Author:** ![avionics-astronomer1](https://avatars.discourse-cdn.com/v4/letter/a/e47c2d/32.png) [@avionics-astronomer1](https://community.postman.com/u/avionics-astronomer1)\
**Post date:** [October 22, 2023, 3:12pm UTC](https://community.postman.com/t/post-and-put-dont-appear-in-body/53563/3 "2023-10-22T15:12:38Z")

</div>

It returns a JSON body normally, and in swagger it is as JSON, and if I manually type the JSON in the Postman Body it makes the Post

What is not happening is that the JSON content automatically appears in the body, and it was working, I just closed Postman once and opened it again and it stayed like this.

Is there a way to reset Postman or something? I already uninstalled it and installed it again

Look at swagger what happen, is normal here

 ![Screenshot_1](https://us1.discourse-cdn.com/getpostman/original/3X/0/b/0b3a5a4a042ac1963eae6b848885036c9c49219b.png)

 ![Screenshot_2](https://us1.discourse-cdn.com/getpostman/original/3X/8/a/8a65b14433516769cd6934c146783272e35f3d3d.png)

---

<div class="post-metadata">

**Author:** ![michaelderekjones](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/michaelderekjones/32/14819_2.png) [@michaelderekjones](https://community.postman.com/u/michaelderekjones)\
**Post date:** [October 22, 2023, 5:20pm UTC](https://community.postman.com/t/post-and-put-dont-appear-in-body/53563/4 "2023-10-22T17:20:36Z")

</div>

Sorry, I’m not quite following you.

Not sure what you mean by “automatically appears”.

Can’t you just copy and paste the JSON body from the swagger example into Postman and then re-save the request?

---

<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:** [November 21, 2023, 5:21pm UTC](https://community.postman.com/t/post-and-put-dont-appear-in-body/53563/5 "2023-11-21T17:21:24Z")

</div>

Closed on November 21, 2023, 5:21pm UTC

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