More REST theology

From: Guy Rixon <gtr-at-ast.cam.ac.uk>
Date: Mon, 12 Mar 2007 09:14:07 +0000 (GMT)


Hi,

I have just found this article that may be important for understanding REST.

http://cafe.elharo.com/web/put-is-not-update/

I think I agree with that, but with one proviso. In the REST protocols I've drafted so far (a UWS prototype and one for the credential-delegation service), I've used POST to create new resources. This is because these protocols have a static resource that lists the ephemeral ones. E.g. posting (name) to /UWS/jobs (static list) creates /UWS/jobs/(name) (ephemeral resource). I regard creating the ephemeral resource as a side effect of updating the list.

Cheers,
Guy

Guy Rixon 				        gtr-at-ast.cam.ac.uk
Institute of Astronomy   	                Tel: +44-1223-337542
Madingley Road, Cambridge, UK, CB3 0HA		Fax: +44-1223-337523
Received on 2007-03-12Z10:15:39