Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

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'
    ];
}
 
PREVIOUS NEXT
Tagged: #Laravel #Exclude #URI #csrf #token #verification
ADD COMMENT
Topic
Name
6+3 =