📜  guzzle 持有者令牌 - PHP 代码示例

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

代码示例1
$newresponse = $basicauth->request(
    'GET',
    'api/1/curriculum',
    ['debug'   => true], 
    ['headers' => 
        [
            'Authorization' => "Bearer {$acceso->access_token}"
        ]
    ]
)->getBody()->getContents();