On Wed, Dec 23, 2009 at 12:12 AM, Fabio Mancinelli
<[email protected]> wrote:

> Examples:
>
> PUT : http://docs.amazonwebservices.com/AmazonS3/2006-03-01/API/
> POST : posting a comment in some kind of restful forum : POST
> http://foo/post/1/comments will create a comment whose URI is
> something like http://foo/post/1/comments/12345 (the client cannot
> know what the ID of the comment will be, so it does a POST on the
> parent resource)

But the client *could* GET request a URI for a new resource from the
container, in this case the blogpost, and then execute a PUT.


Cheers
-- 
Niclas Hedhman, Software Developer
http://www.qi4j.org - New Energy for Java

I  live here; http://tinyurl.com/2qq9er
I  work here; http://tinyurl.com/2ymelc
I relax here; http://tinyurl.com/2cgsug

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2432502

Reply via email to