Azure Serverless Computing Cookbook
上QQ阅读APP看书,第一时间看更新

How it works...

We have created a new Twilio account and copied the account ID and App key into the App settings of the Azure Function app. These two settings will be used by the function app runtime to connect to the Twilio API for sending the SMS.

For the sake of simplicity, I have hardcoded the phone number in the output bindings. However, in real-work applications, you would send the SMS to the phone number provided by the end users.