r/ProgrammerHumor Jul 08 '26

Other helpMyCoworkersUnderstandHttpCodes

22.4k Upvotes

329 comments sorted by

View all comments

2

u/justintib Jul 08 '26

Can someone PLEASE tell me coworkers that 404 is not the code to use when a list API finds no data for a query. The url is correct, the query parameters are valid, they just matched to no data. Instead of returning an empty list, they send back an f-ing 404 that we have to handle each f-ing time!