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. Mai 2012 08:10:43 UTC+2 schrieb Jimit Kapadya:
>
> Which book is best in CakePhp..????
>
> On Sat, May 5, 2012 at 9:41 AM, Miles J <[email protected]> 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 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
>> [email protected] For more options, visit this group 
>> at http://groups.google.com/group/cake-php
>>
>
>

-- 
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
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to