• notice
  • Congratulations on the launch of the Sought Tech site

Laravel - Cancel a specific url csrf_token validation

Go to
app\Http\Middleware\VerifyCsrfToken.php and add the URIs to cancel, e.g.

protected $except = [
    '/payment/callback',
];

This is very necessary when other sites want to POST to our URL.

Tags

Technical otaku

Sought technology together

Related Topic

0 Comments

Leave a Reply

+