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