Guzzle Curl Error 60 SSL unable to get local issuer

后端 未结 11 1728
刺人心
刺人心 2020-12-14 16:00

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:

11条回答
  •  执笔经年
    2020-12-14 16:29

    Guzzle 6
      $response = $client->request('POST', $url, [
                                                    'verify' => false,
                                                     'body'=>json_encode($postData)
                                                ]);
    
    
                        $body = $response->getBody()->getContents();
    

提交回复
热议问题