logoalt Hacker News

Sander_Marechalyesterday at 10:52 PM1 replyview on HN

There is no reason you can return that "no items matched your selection" with a 404 HTTP response code instead of a 200.


Replies

threatofraintoday at 12:24 AM

A response code of 204 seems more appropriate but the problem is you're not allowed to send further information, which would make that descriptive response... not descriptive enough.

show 1 reply