News for hackers. Stuff that matters.
Re:I've been abusing HTTP Status Codes in my APIs for years by rhesa on Wednesday July 13, 2022 @09:18AM (#32082248)
Static web servers return 404 for resources that don't exist on the file system.

For example, https://news.ycombinator.com/s.gif -> 200

But https://news.ycombinator.com/t.gif -> 404

I don't see why /api/v1/employees/3.1415926 shouldn't return a 404 either.

There are no comments on this comment yet.