Friday, May 4, 2012

Re: Wrong request method (2.1.2)

I believe it has changed so if you are doing an edit it sends a PUT, else if you are doing a create it sends a POST.

I ran into that same issue today.

On Friday, May 4, 2012 1:17:31 PM UTC-7, SigalX wrote:
I've seen that cake had sent "PUT" in the "_method" variable but it was POST and I got "PUT" from $this->request->method() in the controller as well. How to get truly request method via cake?

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: