📜  laravel passport vue 401 Unauthorized - PHP 代码示例

📅  最后修改于: 2022-03-11 14:53:39.829000             🧑  作者: Mango

代码示例1
Consuming Your API With JavaScript
'web' => [
    // Other middleware...
    \Laravel\Passport\Http\Middleware\CreateFreshApiToken::class,
],

https://laravel.com/docs/5.3/passport#consuming-your-api-with-javascript