by dhoulb · 8y ago · 0 comments
I must’ve spent hours of my life poring over the Wikipedia HTTP Response Codes page, looking for the most expressive error code for my situation. It’s barmy.
Just add a code, it's seconds of work.
For some APIs, it definitely does make sense to use proper status codes, but for others, it's like fitting square pegs into triangular holes.
"I don’t care. Trees are recognized by their own fruits.
What took me a few hours of coding and worked very robustly, with simple RPC, now takes weeks..."
Weeks? For a REST API? No, I don't think so. REST gives you the tools to be pragmatic and quick, so use them.