Saturday, 18 June 2016

Yii2 - Getting bad request (#400) on ajax calls

This Controller is paste

public function beforeAction($action) {
    $this->enableCsrfValidation = false;
    return parent::beforeAction($action);
}


Yii2 - Getting bad request (#400) on ajax calls

No comments:

Post a Comment