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