5 ms·
Author thinks only a 200 response can contain a body or something
by dncornholio 4y ago
Author thinks only a 200 response can contain a body or something
- that_james 4y agoThat's not the takeway I was after, I was pretty certain I had clearly described my intention of debating the usage of HTTP status codes as domain error messages. Not really sure why you think I'm of the opinion only 2xx codes can have responses, perhaps I could have been clearer.
- dncornholio 4y agoIt's because of these things: 1. If I were to call /api/v11/employees/1 I would get the exact same error. 2. Your examples on the bottom of the post shows a response code and body for 2xx but not a body for the 404.