How to transfer data?

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?
June 8th 19 at 16:28
1 answer
June 8th 19 at 16:30

Find more questions by tags Yii