- Регистрация
- 01.10.2016
- Сообщения
- 340
- Благодарностей
- 48
- Баллы
- 28
so http post in one of my script and no mater what i have been trying the damn thin refuses to work
(i had the raw data in where the variable now sit but even before that it would still come back telling me Error variable with specified name does not exist)
so i created the two purple Phone # (in the editor they showed up purple) variables
im just trying to post the data to a script so i can send my text messages out... any help here whats causing this hang up.... ??? it works fine if i had the code in a php page and just load the page but i need the script to make some changes to the destination and body
use Twilio\Rest\Client;
$sid = '';
$token = '';
$client = new Client($sid, $token);
$client->messages->create(
'{-Variable.smsTO-}',
array(
'from' => '{-Variable.smsFROM-}',
'body' => "POST TEST!"
)
);
(i had the raw data in where the variable now sit but even before that it would still come back telling me Error variable with specified name does not exist)
so i created the two purple Phone # (in the editor they showed up purple) variables
im just trying to post the data to a script so i can send my text messages out... any help here whats causing this hang up.... ??? it works fine if i had the code in a php page and just load the page but i need the script to make some changes to the destination and body