Update twilio.api.php
This commit is contained in:
parent
5abc5b2a4c
commit
076035da0f
|
@ -16,7 +16,7 @@ if(!check_function_exists("twilio_send_message")) {
|
|||
$response = get_web_json($request_url, "post", array(
|
||||
"headers" = array(
|
||||
"Authentication" => array("Basic", $sid, $token),
|
||||
"Content-Type" => "x-www-form-urlencoded",
|
||||
"Content-Type" => "application/x-www-form-urlencoded",
|
||||
),
|
||||
"data" => array(
|
||||
"Body" => $message,
|
||||
|
@ -43,7 +43,7 @@ if(!check_function_exists("twilio_send_voice")) {
|
|||
$response = get_web_json($request_url, "post", array(
|
||||
"headers" = array(
|
||||
"Authentication" => array("Basic", $sid, $token),
|
||||
"Content-Type" => "x-www-form-urlencoded",
|
||||
"Content-Type" => "application/x-www-form-urlencoded",
|
||||
),
|
||||
"data" => array(
|
||||
"Url" => $url,
|
||||
|
|
Loading…
Reference in New Issue
Block a user