News for hackers. Stuff that matters.
Re:API Practices If You Hate Your Customers by JackRabbitSlim on Wednesday December 11, 2019 @07:11PM (#21768175)
A huge and borderline criminal conflation with HTTP in general and REST-y APIs.

The big fat elephant in all this is simple; None of our fucking opinions matter one god damn bit to the end client. Being originally designed to you know, consume hypertext over the hypertext transfer protocol, clients can and will do whatever the fuck they want with the status codes.

Re:API Practices If You Hate Your Customers by wool_gather on Wednesday December 11, 2019 @08:41PM (#21768604)
Well, speaking as a client developer, the API is far, far easier for me to understand and write logic against if its authors agree to send back HTTP statuses with their standardized meanings instead of making up their own scheme.
Re:API Practices If You Hate Your Customers by oftenwrong on Thursday December 12, 2019 @04:52AM (#21770623)
HTTP statuses have no "standardized meanings" at the application level.