http://stackoverflow.com/questions/630453/put-vs-post-in-rest

POST is to create (no id specified) and PUT is to update (id specified) so I am sure. I tested it with our REST API and its correct behaviour. 

Wysłane z iPhone'a / Sent from iPhone

Pozdrawiam / Best regards 
Bartosz Hernas
-- 
http://hernas.pl

> On 24 gru 2013, at 20:22, Colin Hutchinson <notifications@github.com> wrote:
> 
> In lib/Doctrine/REST/Client/Entity.php:
> 
> > @@ -83,7 +83,7 @@ public function save($action = null)
> >      {
> >          $parameters = $this->toArray();
> >          $exists = $this->exists();
> > -        $method = $exists ? Client::POST : Client::PUT;
> > +        $method = $exists ? Client::PUT : Client::POST;
> you sure about this change? I believe PUT is to create (specifies the resource id) or replace while POST is to create (lets the server set the resource id on return) or update
> 
> —
> Reply to this email directly or view it on GitHub.