# consistently returning 200 OK with a null response body

**URL:** <https://community.postman.com/t/consistently-returning-200-ok-with-a-null-response-body/84834>\
**Category:** Help Hub\
**Tags:** tests\
**Created:** [September 18, 2025, 6:33am UTC](https://community.postman.com/t/consistently-returning-200-ok-with-a-null-response-body/84834 "2025-09-18T06:33:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![telecoms-specialis19](https://avatars.discourse-cdn.com/v4/letter/t/76d3ee/32.png) [@telecoms-specialis19](https://community.postman.com/u/telecoms-specialis19)\
**Post date:** [September 18, 2025, 6:33am UTC](https://community.postman.com/t/consistently-returning-200-ok-with-a-null-response-body/84834/1 "2025-09-18T06:33:29Z")

</div>

When sending a POST request to the /register endpoint, the server always responded with 200 OK and a null body  
instead of the user’s data or a proper error message; this behavior persisted even when the code was modified to  
return a simple, hardcoded message.

 ![Screenshot 2025-09-18 034546](https://us1.discourse-cdn.com/getpostman/original/3X/4/6/460c3745f1b9828db27a14ce72006c7b4c51f5aa.png)

 ![Screenshot 2025-09-18 040449](https://us1.discourse-cdn.com/getpostman/original/3X/1/b/1b41d56e104ab284c550fc8b40b727cfc2ae415c.png)

 ![Screenshot 2025-09-18 035355](https://us1.discourse-cdn.com/getpostman/original/3X/b/2/b2468de84817dba9edafd278e99b0dfedd4e4982.png)

 ![Screenshot 2025-09-18 035420](https://us1.discourse-cdn.com/getpostman/original/3X/d/8/d80963e615833b61001bb56bf6035e506522fbd2.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:** [September 19, 2025, 4:28pm UTC](https://community.postman.com/t/consistently-returning-200-ok-with-a-null-response-body/84834/2 "2025-09-19T16:28:06Z")

</div>

It seems like the issue might be with your API rather than Postman itself. You might have better luck getting help by posting your question on a developer forum like Stack Overflow
