Отправляю данные на сервер, но выдаёт ошибку
TokenMismatchException
Отключаю token:
protected $middlewareGroups = [
'web' => [
\App\Http\Middleware\EncryptCookies::class,
\Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
\Illuminate\Session\Middleware\StartSession::class,
\Illuminate\Session\Middleware\AuthenticateSession::class,
\Illuminate\View\Middleware\ShareErrorsFromSession::class,
// \App\Http\Middleware\VerifyCsrfToken::class,
\Illuminate\Routing\Middleware\SubstituteBindings::class,
],
Ответ с сервера:
array:2 [
"_token" => "jBIy2c0Gsk7zjNbs8RW0uB61tkSPlXGVdIXLr6Xy"
"another_value" => "True"
]