If you’re on Windows, sometimes curl_init get requests fail because of CA certs. Download cacert.pem from curl’s site and add this:
```php
curl_setopt($ch, CURLOPT_CAINFO, 'path/to/cacert.pem');
```
Also, enable verbose mode for more details:
```php
curl_setopt($ch, CURLOPT_VERBOSE, true);
```
```php
curl_setopt($ch, CURLOPT_CAINFO, 'path/to/cacert.pem');
```
Also, enable verbose mode for more details:
```php
curl_setopt($ch, CURLOPT_VERBOSE, true);
```
