Misunderstanding REST, part 2
From Amazon SimpleDB homepage:
GET, PUT or DELETE items in your domain
Sounds RESTful? It isn't. In fact, when Amazon's SimpleDB went public on Friday, December 12, 2007, the opening paragraphs on its homepage claimed it "RESTfulness". Now, after community backlash, the homepage seems to be mysteriously lacking such a claim and you must dig deeper into documentation to uncover such fallacies:
Amazon SimpleDB REST calls are made using HTTP GET requests. The Action query parameter provides the method called and the URI specifies the target of the call. Additional call parameters are specified as HTTP query parameters. The response is an XML document that conforms to a schema.
Some time ago I reviewed, what I believe, to be the major misunderstandings about RESTful principles. I categorized three different "interpretations" of REST:
- (Unicorn) REST describes those pure implementations that the fanboys aspire to (think Atom Publishing Protocol). These are only slightly more common than unicorns but more and more “true” REST implementations are appearing.
- (Anything HTTP that is not SOAP) REST is an umbrella labeling implementations that are riding the REST hype but have never read Fielding’s dissertation. These are more appropriately called HTTP-POX.
- (Somewhere in between) REST
Amazon clearly interprets REST as category #2.