mejora realizada a la lectura de parametros del envio de sms

se agrega content type
parent ad9140b2
...@@ -76,6 +76,7 @@ class Sms extends BaseSms ...@@ -76,6 +76,7 @@ class Sms extends BaseSms
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER,false); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER,false);
curl_setopt($ch, CURLOPT_HTTPHEADER, curl_setopt($ch, CURLOPT_HTTPHEADER,
array( array(
"Content-Type: application/xml",
"Accept: application/json", "Accept: application/json",
"Authorization: Basic ".base64_encode($user.":".$password))); "Authorization: Basic ".base64_encode($user.":".$password)));
curl_setopt($ch, CURLINFO_HEADER_OUT, true); curl_setopt($ch, CURLINFO_HEADER_OUT, true);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment