Laravel Sanctum API Token Authentication
🚀 Usage
- Start server with
php artisan serve
- Send a
POST
request to/api/auth/register
including the following params:name
,email
,password
andpassword_confirmation
. - Copy obtained authentication token and use it by sending a
GET
request to/api/me
including theAuthentication: Bearer <token>
header.