How to exclude URLs from the Laravel CSRF protection?
October 26, 2018
Sometimes you have to disable the CSRF protection. A common reason for this is because you have an incoming API webhook.
You can exclude URLs from the CSRF middleware by editing
<?php protected $except = [ "incoming/api/*", ];