Which book is best in CakePhp..
On Sat, May 5, 2012 at 9:41 AM, Miles J mileswjohn...@gmail.com wrote:
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
thats why I don't care about PUT or POST:
https://github.com/dereuromark/tools/blob/2.0/Controller/Component/CommonComponent.php#L143
for me:
posted = put or post
get otherwise
at least in a practical sense anyway (since the one is only a more specific
version of the other).
Am Samstag, 5.
Html form supports just GET and POST methods, thats why CakePHP (and
others) uses workaround with _method to fake PUT and DELETE. If you
want/need true PUT request from web browser, use XMLHttpRequest (ajax).
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
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