News for hackers. Stuff that matters.
Re:I've been abusing HTTP Status Codes in my APIs for years by wizofaus on Wednesday July 13, 2022 @11:34AM (#32084124)
If you write an API designed to return a single entity matching the path provided, it's absolutely an error if it doesn't exist. If your API returns the simplest possible JSON representation in a success case, what JSON should it return if it doesn't exist?

There are no comments on this comment yet.