W3C home > Mailing lists > Public > www-tag@w3.org > August 2009

Re: POST

From: Julian Reschke <julian.reschke@gmx.de>
Date: Sun, 16 Aug 2009 12:21:04 +0200
Message-ID: <4A87DD90.7080102@gmx.de>
To: Graham Klyne <graham.klyne@zoo.ox.ac.uk>
CC: Tim Berners-Lee <timbl@w3.org>, W3C TAG <www-tag@w3.org>
Graham Klyne wrote:
> Tim Berners-Lee wrote:
>> In general POSTs to arbitrary things.   The case of POST to a list 
>> page creating a new page (from the posted content) and creating a 
>> entry in the list linking to the new content (like net news) I have 
>> not really seen used.
> 
> Isn't this exactly what AtomPub (and hence a system like Google Data) does?

It is.

> It's certainly something that I'm planning to use in a data curation 
> project I'm
> working on.
> 
> I raise this as I'm mildly concerned by a possible implication that this 
> isn't
> really a good design, and that I'm oblivious to a better way to achieve 
> this goal.
> ...

No, using POST to add to a collection is the right thing to do. An 
alternative is PUT, in case you want to allow the client to specify the 
name of the new sub resource.

BR, Julian
Received on Sunday, 16 August 2009 10:21:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:48:15 GMT