Mike Douglas

1069 days ago

Really good reference for people designing RESTish APIs

Choosing an HTTP Status Code — Stop Making It Hard


What could be simpler than returning HTTP status codes? Did the page render? Great, return 200. Does the page not exist? That’s a 404. Do I want to redirect the user to another page? 302, or maybe 301. Life is bliss, well… until someone tells you you’re not doing this REST thing.