Maven (famous) to Programmer [email protected] • 6 months agothis is what peak web traffic looks likelemmy.zipimagemessage-square27fedilinkarrow-up1444arrow-down13
arrow-up1441arrow-down1imagethis is what peak web traffic looks likelemmy.zipMaven (famous) to Programmer [email protected] • 6 months agomessage-square27fedilink
minus-square@calcopirituslink2•5 months agoWhy not respond with the appropriate HTTP Code, and then also put the same code in the json?
minus-square@[email protected]linkfedilinkEnglish2•5 months agoThat would have been fine for me too. I don’t own the API, so I can only speak from a consumer perspective in saying: I don’t want a HTTP 200 if my request didn’t succeed.
Why not respond with the appropriate HTTP Code, and then also put the same code in the json?
That would have been fine for me too. I don’t own the API, so I can only speak from a consumer perspective in saying: I don’t want a HTTP 200 if my request didn’t succeed.