Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
bern4444
on July 13, 2022
|
parent
|
context
|
favorite
| on:
I've been abusing HTTP Status Codes in my APIs for...
Returning a 404 makes more sense and you can still include a response body
status: 404, body: { "result": false, "errorMessage": "No employee found for ID 100" }
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: