Categories
Dev

Disable CSRF Token on specific Routes Laravel

CSRF is enable by default on all Routes in Laravel 5. Sometime you want don’t want to use a CSRF. You can disable it by a specific routes. Edit /app/Http/Middleware/VerifyCsrfToken.php like this

Leave a Reply

Your email address will not be published. Required fields are marked *