How can I respond to incoming Twilio calls and SMS messages using node.js?
问题 In my application I'm using the twilio node.js module to receive an sms, send an sms, receive a call and make an outgoing call. I figured out how to send an sms and make a call. But I don't know how to respond to incoming calls and SMS messages. How can I use node to respond to these? 回答1: When Twilio receives a call to your phone number, it will send an HTTP request to a URL you configure in the admin console: What Twilio expects in return from this HTTP request is a set of XML instructions