Re: Question regarding POST versus PUT for creating an LDPC

hello arnaud.

On 2013-04-17 8:11 , "Arnaud Le Hors" <lehors@us.ibm.com> wrote:
>The spec allows creating resources using PUT [1] but it recommends to
>POST to a container as a way to do so [2]. The spec further specifies
>that containers can be created the same way, since they are resources. [3]
>[1] 4.4.6 LDPR servers MAY choose to allow the creation of new resources
>using HTTP PUT.

so where do you PUT these? or more specifically, what are the hyperlinks
that allow a client to understand which URIs it can use? AtomPub has a
Slug header which has implicit magic in it, saying that it concatenates
the collection URI with a server-approved variation of the Slug contents.
this is basically an HTTP header hard-coding a URI template. right now,
the LDP spec does not seem to provide any support for a client to figure
out where to PUT to, for create-by-PUT scenarios.

cheers,

dret.

Received on Wednesday, 17 April 2013 18:14:58 UTC