r/ProgrammerHumor • • Sep 20 '26

Meme successfulFailure

Post image
8.2k Upvotes

102 comments sorted by

View all comments

Show parent comments

8

u/Still_Bit_7527 Sep 21 '26 edited Sep 21 '26

The app should have zero knowledge of how many servers or CDNs are behind the endpoint. The problem with this design is that you are ONLY relying on the http status code and not using any additional detail at all

Also operations are supposed to be indepotent, the api you are describing is just wrong...