On 7/25/07, Gregg Wonderly <[EMAIL PROTECTED]> wrote:
> The number of functions is limited based on the address range you are refering
> to.  I'm not sure how you can summarily conclude that the HTTP definition of 
> GET
> is somehow the only valid definition of such a RESTful operation.

It's not the only valid definition of a RESTful operation.  There are
many possible RESTful operations.  But GET is uniform and therefore
RESTful.

How you know whether an operation is uniform is not, is to ask the
question "Does it make sense to invoke this operation on every
identifiable thing"?  Consider "read coil status" from MODBUS.  Does
it make sense to invoke that operation on registers?  Of course not.
Therefore it isn't uniform, and not RESTful.

GET means "retrieve me a representation of the identified thing".
Everything can be represented, therefore it's uniform.

Mark.
-- 
Mark Baker.  Ottawa, Ontario, CANADA.         http://www.markbaker.ca
Coactus; Web-inspired integration strategies  http://www.coactus.com

Reply via email to