AnsweredAssumed Answered

Twilio & FMPA 16 "Insert from URL" Syntax

Question asked by rob_w on May 25, 2017
Latest reply on May 26, 2017 by bigtom

The text below is what I have in the "Insert form URL" 'Specify cURL Options' field (except for changing the phone numbers, SID & ACCOUNT).

 

It works fine when I hardcode the "To=" phone number.  I cannot get it working when changing the "To=" phone number to a variable.

 

"--data-urlencode To=+18887776666

--data-urlencode From=+11234567890

--data-urlencode Body=This phone is now registered for XYZ.  If you did not register this phone, text +11234567890 to report misuse.

-u SID:ACCOUNT"

 

I have tried everything I can think of to replace the "To=" phone number with a variable to no avail.  I even read the doc on the FM Support site a few times!

 

Your help is sincerely appreciated.

Outcomes