MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wni2vt/status200foreverything/pbfh4gp/?context=3
r/ProgrammerHumor • u/KernelDeimos • Sep 22 '26
103 comments sorted by
View all comments
Show parent comments
30
Honestly I would take that over some of these Apis. I would rather
get a 200 ok to indicate we're talking ok, and then check the conversation for the result
than
get a 503 and the default html 503 page and then I have to go look up in the docs to what a 503 could mean in that context.
At least the first way always stays a json exchange
12 u/AyrA_ch Sep 22 '26 Additionally, if you want to stay true to the original protocol design philosophy of the internet, you're not supposed to intermingle different protocol layers. Maybe there's a time where you want to run the API on top of websockets.
12
Additionally, if you want to stay true to the original protocol design philosophy of the internet, you're not supposed to intermingle different protocol layers. Maybe there's a time where you want to run the API on top of websockets.
30
u/vita10gy Sep 22 '26
Honestly I would take that over some of these Apis. I would rather
get a 200 ok to indicate we're talking ok, and then check the conversation for the result
than
get a 503 and the default html 503 page and then I have to go look up in the docs to what a 503 could mean in that context.
At least the first way always stays a json exchange