You can exclude middleware at the route level in Laravel using the withoutMiddleware method.
Route::post('/some/route', SomeController::class)
->withoutMiddleware([VerifyCsrfToken::class]);
You can exclude middleware at the route level in Laravel using the withoutMiddleware method.
Route::post('/some/route', SomeController::class)
->withoutMiddleware([VerifyCsrfToken::class]);