Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ako
on Dec 12, 2019
|
parent
|
context
|
favorite
| on:
API Practices If You Hate Your Customers
404 indicates an error, if the result is just empty but not erroneous 204 "no content" may be better.
wwweston
on Dec 12, 2019
[–]
+1, 204 is underutilized for no-result cases.
jbverschoor
on Dec 12, 2019
|
parent
[–]
In the browser it will also do no page refresh as there is nothing to render.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: