jcadima
8/7/2018 - 9:27 PM

Disable CSRF from certain routes


https://laracasts.com/discuss/channels/laravel/disabling-csrf-for-a-specific-route-in-laravel-5

1) Open App/Http/Middleware/VerifyCsrfToken.php

2) add the routes that are needed

    protected $except = [
        'contact/send',
        'someother/route'
    ];