You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using php-github-api first on my localhost, I was facing this error: Fatal error: Uncaught GuzzleHttp\Exception\RequestException: cURL error 77: error setting certificate verify locations: CAfile.
Connections from your localhost arent not secured. Either you install openSSL in your localhost or you try working on your work remotely via a secured connection
$response = Http::withOptions([ //use this method'verify' => false, //This key and value in this method
])->withHeaders([
'Content-Type' => 'application/json',
'Accept' => 'application/json',
])->get($url);
return$response;
Good morning all,
Using
php-github-api
first on my localhost, I was facing this error:Fatal error: Uncaught GuzzleHttp\Exception\RequestException: cURL error 77: error setting certificate verify locations: CAfile
.The solution is given in the Guzzle repository: guzzle/guzzle#1935 (comment)
Hope this can helps someone else.
And thank you KNP Labs for your great library!
The text was updated successfully, but these errors were encountered: