-->
Page 1 of 1

HTTP request using Twilio API , Despaired

PostPosted: Wed Feb 11, 2015 3:09 am
by rant
Hi .
We are trying to use the module with the AT command, and i must say , its sucks . almost any request today needs https , and i wonder if you can or cant do that .

Anyway , we would like to send a request using Twilio API , and i have the curl version of it .
I would like to convert it to a simple request so i can send with the AT commands .


Code: Select allcurl -X POST 'https://api.twilio.com/2010-04-01/Accounts/ACbe68cdd615d5e8ff9f13aba243cc4cdb/Calls.json' \
--data-urlencode 'To=xxxxxxxx5542'  \
--data-urlencode 'From=+xxxxx724215'  \
-d 'Url=http://demo.twilio.com/docs/voice.xml'  \
-d 'Method=GET'  \
-d 'FallbackMethod=GET'  \
-d 'StatusCallbackMethod=GET'  \
-d 'Record=false' \
-u xxxx68cdd615d5e8ff9x13aba243cx4cdb:0f44285b2ce7704b847cde3fdd65xxxx