Re: REST and DELETE?
Mike Kelly <[email protected]>
| Newsgroups | gmane.comp.web.services.rest |
|---|---|
| Message-ID | <CANqiZJYEX6tyNhs0Rqc9+6LTu+BiB5jANoqeAfsDWb-vyqTUEw@mail.gmail.com> |
On Thu, Aug 9, 2012 at 3:13 AM, Mark Baker <[email protected]> wrote: > > > > On Wed, Aug 8, 2012 at 4:53 PM, Jan Algermissen > <[email protected]> wrote: > > My thinking is based on [1] but surely a server side resource-cart is fine as well. Especially if you want to maintain it across browsers. > > Until you consider the fact that the "buy" message has to contain all > that state since it contains the expectations of the user. > > http://www.markbaker.ca/blog/2007/11/users-and-self-description/ > 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> Cheers, M