rest - Url parameter is required while making a call using Twilio API -
rest - Url parameter is required while making a call using Twilio API -
i trying create calls using rest api , language using isn apex.however,it throwing me error saying 'url parameter required. more information, see '
i using endpoint url follows :-
https://api.twilio.com/2010-04-01/accounts//calls.json?url=http://demo.twilio.com/docs/voice.xml
if see adding url param endpoint,still throwing me error.
i able send sms through rest api,the issue when making calls.
please suggest.
thanks
url
must post
ed api, sending get
parameter.
change code post
instead of get
, sent url
parameter post
variable.
(see http://www.twilio.com/docs/api/rest/making-calls#post-parameters)
also left out {accountsid} in url, that's required well. of course of study may have left out because don't want publicly visible on so, can't here that's reason ;)
rest twilio apex
Comments
Post a Comment