# Http response code is 201 but Response Body is incomplete

**URL:** <https://community.postman.com/t/http-response-code-is-201-but-response-body-is-incomplete/39020>\
**Category:** Help Hub\
**Created:** [September 11, 2022, 1:59am UTC](https://community.postman.com/t/http-response-code-is-201-but-response-body-is-incomplete/39020 "2022-09-11T01:59:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kendycrush](https://avatars.discourse-cdn.com/v4/letter/k/ce7236/32.png) [@kendycrush](https://community.postman.com/u/kendycrush)\
**Post date:** [September 11, 2022, 1:59am UTC](https://community.postman.com/t/http-response-code-is-201-but-response-body-is-incomplete/39020/1 "2022-09-11T01:59:37Z")

</div>

I tried searching, but probably used the wrong search terms. Any suggestions here is also appreciated.

_My question_:  
I am just learning and practicing with reqres.in public APIs.  
I would like to create a new user using a POST to [https://reqres.in/api/users](https://reqres.in/api/users)  
In my request body, I provide {“name”:“morpheus”,“job”:“leader”}  
In the response body, I receive {“id”:“166”,“createdAt”:“2022-09-11T01:43:29.008Z”}

What I am expecting in the response body is  
{  
“name”: “morpheus”,  
“job”: “leader”,  
“id”: “496”,  
“createdAt”: “2022-09-11T01:44:28.954Z”  
}

Problem:  
I am missing (“name”: “morpheus”, “job”: “leader”,) in the response body.  
The response code is technically correct, 201, but I get that response code even if I provide no “name” or “job” in my request body.

_Details (like screenshots)_:

 ![ScreenHunter 15 (01)](https://us1.discourse-cdn.com/getpostman/original/2X/5/5e091d278c63e763705bb946f79b51869ef3bce5.jpeg)

_How I found the problem_:  
In the reqres.in website, it provides what the response body should look like and mine does not look the same. I also confirmed that using Google’s Chrome inspect option, that Chrome gets the expected response body.

_I’ve already tried_:  
I tried providing the response body in raw, form-data with the same results.

Is there a configuration I’m missing? Any additional tips on how to debug would be greatly appreciated.

Thank you

---

<div class="post-metadata">

**Author:** ![kendycrush](https://avatars.discourse-cdn.com/v4/letter/k/ce7236/32.png) [@kendycrush](https://community.postman.com/u/kendycrush)\
**Post date:** [September 12, 2022, 4:11pm UTC](https://community.postman.com/t/http-response-code-is-201-but-response-body-is-incomplete/39020/2 "2022-09-12T16:11:31Z")

</div>

I figured out the problem. In the request body, I was using TEXT. The server was expecting JSON. I made that change and I got my expected results.

---

<div class="post-metadata">

**Author:** ![science-explorer-543](https://avatars.discourse-cdn.com/v4/letter/s/dbc845/32.png) [@science-explorer-543](https://community.postman.com/u/science-explorer-543)\
**Post date:** [February 18, 2025, 10:25pm UTC](https://community.postman.com/t/http-response-code-is-201-but-response-body-is-incomplete/39020/3 "2025-02-18T22:25:06Z")

</div>

You are definitely right.  
I often take examples from here [https://rapef.info/code\_201/](https://rapef.info/code_201/)
