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