Hacker News new | ask | show | jobs
by that_james 1432 days ago
That'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.

1 comments

It'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.