Laravel sanctum axios

// open "app/Http/Kernal.php"
// in "protected $middlewareGroups"
// in "api"
// uncomment this class:
\Laravel\Sanctum\Http\Middleware\EnsureFrontendRequestsAreStateful::class
  
  
Witness