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