Re:I've been abusing HTTP Status Codes in my APIs for years
by dncornholio on Thursday July 14, 2022 @04:26AM
(#32093473)
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.
Not really sure why you think I'm of the opinion only 2xx codes can have responses, perhaps I could have been clearer.