mejora realizada a la lectura de parametros del envio de sms

se agrega content type
parent 29534f51
......@@ -76,7 +76,7 @@ class Sms extends BaseSms
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER,false);
curl_setopt($ch, CURLOPT_HTTPHEADER,
array(
"Content-Type: application/xml",
"Content-Type: application/json",
"Accept: application/json",
"Authorization: Basic ".base64_encode($user.":".$password)));
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