Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jabart
on June 23, 2022
|
parent
|
context
|
favorite
| on:
Hardening the registers: A cascading failure of ed...
204 no content is an underused http status. 404 should be monitored as an error, 204 as, well no content available. If a status code has two responsibilities that will be a monitoring issue waiting to happen.
magicalhippo
on June 23, 2022
[–]
So your suggestion is that if I have a /invoice endpoint, a "GET /invoice/abc123" should return 204 if it's an invalid/non-existing invoice number?
Seems reasonable.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: