#1 Reason (To Me) Why REST Web Services Suck

Posted January 2, 2012

Every time I have to work with REST-based webservices, I want to pull my teeth.

My #1 problem is that they typically use HTTP status codes to report errors/failures. The problem with this is that there is literally no details given as to WHAT failed.

Take Twitter as an example - if you make a server-to-server request, and something goes awry, you get a "401 Unauthorized" response. Well, that's just great ... and what exactly caused the failure? Who knows.

And this isn't isolated to just Twitter, either.

Comments

There are no comments for this post.

No comments found

Add comment

Visit my Friends and Family

If you've enjoyed my site, please take a moment to visit my friends and family, many of whom have some interesting insights, and entertaining thoughts and ideas.