d3xt3r

Modify the above as

     /**
     * Determine if the request has a URI that should pass through CSRF verification.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return bool
     */
    protected function shouldPassThrough($request)
    {
        foreach ($this->except as $except) {
            
            if (Str::is($except, $request->url())) {
                return true;
            }
        }
        return parent::shouldPassThrough($request);
    }

Return to Thread...