Jwt Laravel
php artisan jwt:secret
Joyous Jaguar
php artisan jwt:secret
composer require tymon/jwt-auth
php artisan jwt:secret
php artisan vendor:publish --provider="Tymon\JWTAuth\Providers\LaravelServiceProvider"
'providers' => [
...
Tymon\JWTAuth\Providers\LaravelServiceProvider::class,
]
$ curl -X POST -H "Content-Type: application/json" http://127.0.0.1:8000/api/cart-items/ -d "{\"product_name\":\"name\",\"product_price\":\"41\",\"product_quantity\":\"1\"}"