📅  最后修改于: 2022-03-11 14:54:42.393000             🧑  作者: Mango
use Illuminate\Http\Request;
public function index(Request $request)
{
$bearerToken = $request->header('Authorization'); // will return "Bearer access_token" string
}