797
I hate API like this
(i.imgur.com)
Post funny things about programming here! (Or just rant about your favourite programming language.)
It's hard when you hit an endpoint that hits another endpoint, because technically the first request IS a 200. No right or wrong way as long as they are consistent and document it clearly imo
In this case I like to return a 502.
Great time to implement a 7XX code: https://github.com/joho/7XX-rfc
739 might be a good one
Nice! I’m definitely going to implement 787 at work.