65253/how-to-turn-off-csrf-protection-for-particular-route-laravel
Hey,
We can add that particular URL or Route in $except variable. It is present in the app\Http\Middleware\VerifyCsrfToken.php file.
Example
class VerifyCsrfToken extends BaseVerifier { protected $except = [ 'Pass here your URL', ]; }
Thank you!!
Hello, $subdomain is injected in the actual Route callback, it is ...READ MORE
Hello, Route::getRoutes() returns a RouteCollection. On each element, you can ...READ MORE
Hey, Facades provide a "static" interface to classes ...READ MORE
Hey, In between head, tag put <meta name="csrf-token" ...READ MORE
Hey @kartik, First you have to go to ...READ MORE
Named route is used to give specific ...READ MORE
Hello, This is simple you just need to ...READ MORE
Hey @kartik, Named routing is another amazing feature of ...READ MORE
Hello @kartik, By default, blade doesn't have @break and @continue which are ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.