Re:I've been abusing HTTP Status Codes in my APIs for years
by okamiueru on Thursday July 14, 2022 @02:26AM
(#32092692)
Also, the OP article does explain well what could cause this misunderstanding. HTTP resource nouns shouldn't ever be "guessed". The resource either exist or it doesn't. And if it exists, it either has a data, or it doesn't.
404: it doesn't exist
204: it exists and has no data to parse.
404: it doesn't exist 204: it exists and has no data to parse.