Answer the question
In order to leave comments, you need to log in
YII2: Why does bad Request (#400) Unable to verify your data submission occur?
When I enable Csrf tags, I get an error from the subject. I am not uploading files.
Basically layout output <?= Html::csrfMetaTags() ?> is there and everything is generated
<meta name="csrf-param" content="_csrf-frontend">
<meta name="csrf-token" content="QmcxU050NEIzD2AaDScBdxQqHAkFM04XCT9AFhZNQSlyIlISYy1yMg==">
'request' => [
'csrfParam' => '_csrf-frontend',
'enableCsrfValidation' => true,
],
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question