Cgridview Using Get Instead Of Post For Deleting?

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.


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?


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.