[Grok-dev] Re: HTTP PUT and HTTP DELETE security support
Oliver Oli
oliver.oli at gmail.com
Thu May 17 17:06:27 EDT 2007
> The Ruby on Rails talk discusses higher level systems to make an
> application get standard REST behavior. The pattern tends to be (also
> gleaned from the Atom Publishing Protocol that I was pointed to):
>
> GET on a container: get list of items in container (in XML, JSON, etc)
> GET on container item: get container item data
> POST on a container: create new object
> PUT on container item: overwrite container item data
> DELETE on container item: delete container item
A PUT can also be a create operation with a given resource name. A
POST request should return the location (url) of the created resource.
More information about the Grok-dev
mailing list