The Basics of Twilio SMS

When you send a text message, this makes a request to Twilio to deliver an SMS to the requested phone number. The server logic determines the weather forecast to send to the phone based on the area code of the phone number requested.

When you click "Send Text Message", an ajax request is made that in turn triggers a server-side HTTP request to Twilio providing a number to SMS, as well as the string to include as a message body. That request dynamically finds the weather forecast for the area code of the phone number provided.

We Can't Wait to See What You Build

Get started today with a free trial account and be up and running in less than 5 minutes.