Re: Link relation for adding a resource

"Roy T. Fielding" <[email protected]>
Newsgroups gmane.comp.web.services.rest
Message-ID <[email protected]>
On Sep 1, 2012, at 11:00 AM, Erik Wilde wrote:
> On 2012-09-01 05:44 , Jan Algermissen wrote:
>> On Aug 31, 2012, at 6:07 PM, Paul Cohen wrote:
>>> I would like to define, in JSON, a link that provides a way to add a
>>> new resource to a collection of resources.
>> HTTP POST has that semantic already, there is no need to use a link relation for that.
> 
> why do you think POST has create semantics? POST does not have any 
> semantics other than doing something non-safe non-idempotent.

The original definition of POST was the same as NNTP: post an article
to a group (where group is the container identified by the target URI).
Hence, create a new resource under the target and respond with its
new URI in Location.

POST has strayed quite a bit since then.

....Roy
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.