Trying to use the YouTube API v3 to get some video(s) information, using Guzzle in Symfony2 using Service Descriptors.
When I run the script, I get this:
With Guzzle 6+ you have to set it on the client request options array.
$response = $client->request('GET', 'https://example.com/v1/WebHooks', ['verify' => false, 'headers' => ['Authorization' => "ApiKey $apiKey"] ]);