Answers for "Laravel Exclude URI from csrf token verification"

PHP
0

Laravel Exclude URI from csrf token verification

//VerifyCsrfToken middleware 
class VerifyCsrfToken extends Middleware
{
    /**
     * The URIs that should be excluded from CSRF verification.
     *
     * @var array
     */
    protected $except = [
    'data/bigcommerce','/data/shopify','/data/magento'
    ];
}
Posted by: Guest on October-07-2021

Browse Popular Code Answers by Language