Re:I've been abusing HTTP Status Codes in my APIs for years
by jehlakj on Wednesday July 13, 2022 @10:13AM
(#32083016)
Maybe I'm not understanding this, but wouldn't network issues take priority naturally? For example, if there's a problem with a database connection, you'd return 500. How would you know if the resource even exists?
[ Parent
| on HN ]
Re:I've been abusing HTTP Status Codes in my APIs for years
by treis on Wednesday July 13, 2022 @10:18AM
(#32083089)
Network issues between the client and the server.
Re:I've been abusing HTTP Status Codes in my APIs for years
by NoGravitas on Wednesday July 13, 2022 @11:39AM
(#32084190)
Those will never return a 404, though.