Have problem with laravel/sanctum unauthenticated
I am practicing with laravel/sanctum, I am making the request to localhost:8000/sanctum/csrf-cookie to get the X-XSRF-TOKEN token, and I get the successful request and I get the cookie, now I am making the request to localhost:8000/api/user and I get message:unauthenticated. what am I doing wrong?