Maven (famous) to Programmer Humor@programming.dev • 1 year agothis is what peak web traffic looks likelemmy.zipimagemessage-square27arrow-up1454
arrow-up1454imagethis is what peak web traffic looks likelemmy.zipMaven (famous) to Programmer Humor@programming.dev • 1 year agomessage-square27
minus-square@calcopiritus@lemmy.worldlinkfedilink2•1 year agoWhy not respond with the appropriate HTTP Code, and then also put the same code in the json?
minus-square@jballs@sh.itjust.workslinkfedilinkEnglish2•1 year 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.