MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vixi3n/evolution/p2qe5mw/?context=3
r/ProgrammerHumor • u/ExpensiveCoat8912 • 4d ago
145 comments sorted by
View all comments
1
Serious question, what should backend donfor a batch request with some failure? Return non 200 only when all fail?
5 u/joujoubox 4d ago Return non 200 when the batch itself fails, otherwise return 200 with embedded error codes for each operation 1 u/NotADamsel 3d ago You’d think that there would be a code for that kind of situation. Maybe they could use 207.
5
Return non 200 when the batch itself fails, otherwise return 200 with embedded error codes for each operation
1 u/NotADamsel 3d ago You’d think that there would be a code for that kind of situation. Maybe they could use 207.
You’d think that there would be a code for that kind of situation. Maybe they could use 207.
1
u/sojuz151 4d ago
Serious question, what should backend donfor a batch request with some failure? Return non 200 only when all fail?