I am developing a new project for Event Management. For that, I need to implement OTP verification for mobile numbers for those who are registering for the event. I’m using textlocal API to send OTP and I’m getting the error as above.
In windows: in your
php.ini file and remove the comment from cURL extension
sudo apt-get install php-curl
sudo apt-get install php5-curl
After you have saved the file you must restart your HTTP server software (e.g. Apache) before this can take effect.
and check into the phpinfo that your cURL extension is enabled or not