I write a controller and it contain multi POST action but whene i post data to these actions my response is :

{ "name": "The request has been black-holed", "url": "/rest_sms_boxs.json" }

Now how can i resolve this problem.

1

There are 1 best solutions below

1
On

Certainly the security mode.

Try in your controller:

public function beforeFilter() 
{
    parent::beforeFilter();
    $this->Security->unlockedActions = array('your_method');
}