Often times, after a fresh install of WAMP server, curl stops working. You might get a hint of the issue in logs/php_error.log If not, it could be that the SSL/TLS Certificate Authority (CA) certificates has not bee setup properly.
- Download cacert.pem
- Move the cacert.pem file to a folder, e.g. C:\code\ssl\cacert.pem
- Edit the php.ini file and change the curl.cainfo parameter, e.g. curl.cainfo = “C:\code\ssl\cacert.pem”