update variable of API

For WAMP users enable php_curl extention before using it and Don't forgot to restart your Apache services.