I have in the controller actionNew($id, $name). I want to make a ajax request, as I understand it accepts parameters, so it's a get request, but in behaviors is only allowed Post.
How to make a request? And as a General in the Yii controller to access the transferred data in query?