Had a phone conversation with Bill. In his app, he can start using CURL to accomplish what he wants.
You could also use Aware's REST ability to do this, but this is pretty easy for Bill to get running quickly.
CREATE tempCurl WITHJaymer, I'm trying to get Twilio working in AwareIM, I have a few questions if you would be so kind.
1- how do you execute the Curl Command once you have built and saved it?
2- What is in SystemSetting.DQ?
It would be great to get Twilio working in AwareIM
Thanks, Bill
tempCurl.theCommand=`curl -XPOST `+
`https://api.twilio.com/2010-04-01/Accou ... sages.json `+
` -d ~Body=` + YourBO.theSMSMessage +`~` +
` -d ~To=+1` + REPLACE_PATTERN(Contacts.Phone,'-','') +`~` +
` -d ~From=+18005551212` +`~` +
` -u AC95d46334f6xxxx4ee90eb23f78:2d8b0eb3bxxxx4f9e5c147b1`
NOTE: Am using a squiggle ~ instead of referring to SystemSetting.DQ, for readability. As an example, this makes the "from" line become this:
-d ~From=+18005551212~ which will become this:
-d "From=+18005551212" after the REPLACE_PATTERN below.
Then, replace all the squiggles with real double quotes, and execute. Examine the Server Output window to see the execution and possible any error msgs or return data.
tempCurl.theCommand = REPLACE_PATTERN( tempCurl.theCommand,'~', SystemSettings.DQ )
EXECUTE PROGRAM tempCurl.theCommand