guzzle 7 bearer token code example
Example: guzzle bearer token
$newresponse = $basicauth->request(
'GET',
'api/1/curriculum',
['debug' => true],
['headers' =>
[
'Authorization' => "Bearer {$acceso->access_token}"
]
]
)->getBody()->getContents();