Comment excluser le CSRF dans un itinéraire Laravel
// go to App\Http\Middleware\verifyCsrfToken.php and add the route into except array
<?php namespace App\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as BaseVerifier;
class VerifyCsrfToken extends BaseVerifier
{
protected $except = [
'/payment',
];
}
Kriss Sachintha