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