Re: REST and DELETE?

Mark Baker <[email protected]>
Newsgroups gmane.comp.web.services.rest
Message-ID <CALcoZiry4EwDmeLWp9mkB7D6=m4RS7NT_cHpGfqNJBPjNM8VEA@mail.gmail.com>
On Thu, Aug 9, 2012 at 5:29 AM, Mike Kelly <[email protected]> wrote:
> Does it _have_ to contain all the state? The following would work ok,
> and the important parts of the interaction are still visible:
>
> POST /cart/123
> If-Match: 2930480293842
> <state>reserve-to-pay</state>

It has to contain all the state if you want the message to reflect the
intent of the user, yes.  That message is not self-descriptive.

Mark.
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.