Answers for "guzzle 7 http bearer"

PHP
2

guzzle bearer token

$newresponse = $basicauth->request(
    'GET',
    'api/1/curriculum',
    ['debug'   => true], 
    ['headers' => 
        [
            'Authorization' => "Bearer {$acceso->access_token}"
        ]
    ]
)->getBody()->getContents();
Posted by: Guest on May-05-2020

Browse Popular Code Answers by Language