Hi, I've noticed that CGridView buttons use POST, but don't really POST anything. It makes a POST to a URL like a GET.
Example:
It POSTs to site/controller/action/param1/value1/param2/value2, while I think it should POST to site/controller/action and have param1 and param 2 in POST body.
Is it possible to change it?
Thanks
Page 1 of 1
Cgridview Using Get Instead Of Post For Deleting?
#2
Posted 22 May 2013 - 02:43 PM
Well I've learned about RESTful (or read at least) and this makes more sense.
A guy told me in StackOverflow that the important thing is the verb/method and not the body/url.
A guy told me in StackOverflow that the important thing is the verb/method and not the body/url.
Share this topic:
Page 1 of 1

Help











