Parse Error when empty body on PUT with 204 response

When a PUT request returns a HTTP 204 code, it usually don’t have a response body.
Symfony framework also removes the Content-Type and Content-Length and set the content to null in those cases in order to comply to the standard.

But Postman can’t deal with that and returns a Parse Error.
Is there a way to workaround this problem?

1 Like

Did you solve the problem? Same here with a 201 Created and empty body

No. I gave up and now I’m using curl or pure php to test these endpoints. :frowning:

PS: Yes, the same bug happens with 201 responses.
It ignores the standard.