Hi all - can someone help me convert the following?

curl -X POST 
'https://api*twilio*com/2010-04-01/Accounts/AC0afb9e5c70c0fde47904a9a6ff/Messages.json'
\
--data-urlencode 'To=5034554562' \
--data-urlencode 'From=+1212022183' \
--data-urlencode 'Body=test message' \
-u AC0afb9e5c70c0fde47904a9a6ff:e6a1bdc2a7a7484d6cdc96e

I just don't have any experience working with http(s) APIs and I've been
working through the forum posts as best I can. The only thing I've gathered
so far is using urlEncode for the --data-urlencode lines. Are the -X POST
and -u parts done in httpheaders?

Any help would be greatly appreciated - thanks!
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to