Search code examples
apieasyphpvonage

Can't run Nexmo API using EasyPHP


I'm using EasyPHP on my computer as my localweb. I'm trying to use pre-built PHP code to use Nexmo API available at https://github.com/prawnsalad/Nexmo-PHP-lib

But when I try to send sms, I get this error: Cannot display an overview of this response

How can I fix this?


Solution

  • Simply Try to change

    var $nx_uri = 'https://rest.nexmo.com/sms/json';
    

    to

    var $nx_uri = 'http://rest.nexmo.com/sms/json';
    

    (without s).