yii2 400 error:Unable to verify your data submission error


Add this in your controller:

public $enableCsrfValidation = false;

Archives