Answers for "laravel sanctum axios Unauthenticated"

PHP
0

laravel sanctum axios Unauthenticated

// open "app/Http/Kernal.php"
// in "protected $middlewareGroups"
// in "api"
// uncomment this class:
\Laravel\Sanctum\Http\Middleware\EnsureFrontendRequestsAreStateful::class
Posted by: Guest on August-29-2021

Browse Popular Code Answers by Language