Mark Baker wrote:
>
> On 6/4/07, Anne Thomas Manes <[EMAIL PROTECTED] 
> <mailto:atmanes%40gmail.com>> wrote:
> > As you've clearly pointed out here, the Amazon POX/HTTP services are 
> not RESTful.
>
> Thanks for your (belated 8-) support for REST Anne, but Amazon's
> services *are* RESTful.
>
> Mark.
>
>
> .
Mark,

Anne got this info from me.  Recently I informed her and others that S3 
was RESTful, but that ECS and EC2 were not.

The ECS (E-Commerce Service) "REST" API specifies a single URL:

http://ecs.amazonaws.com/onca/xml?Service=AWSECommerceService

onto which are tacked the operation name and various parameters.  Now, 
as Sam Ruby recently pointed out, this is not a surefire guarantee that 
the application is not RESTful, but if GETting one of those URIs changes 
server side state, then they are not RESTful.  In Amazon's case, there 
are URI-based operations to create a remote shopping cart, add items to 
the cart, and update items in the cart.  Thus ECS does not have a 
uniform interface -- everything is tunneled over GET (or POST); is not 
cacheable; does not have self-descriptive messages; does not manipulate 
state via representations; and, in the case of using POST instead of 
GET, does not have identifiable resources,

For EC2 (the Elastic Compute Cloud) it's the same thing.  In fact, 
Amazon calls the EC2 REST-RPC hybrid interface the "Query API" and 
promises a true REST API sometime in the future.  
http://docs.amazonwebservices.com/AmazonEC2/dg/2007-01-19/TechnicalFAQ.html#d0e15107

Pete

Reply via email to