![]() You now have a solid base to further explore Twilio, Lambda, and AWS API Gateway. handler = function ( event, context ) Improve your app! Require ( "./environment.js" ) var twilio = require ( 'twilio' ) exports. For simplicity sake, you can use the defaults values provided by the initializer. Naviagte to that directory and initialize a Create a node.js project.Ĭreate a folder called twiliolambda. Also, please be sure to find and make note of your account's API credentials. Go to ( ) and sign-up for a trial account. After you have finished the sign up process, please make sure that you obtain a new phone number for your trial account. Steps Create a Twilio account.įirst, we need to sign-up for a Twilio account. ![]() To solve this problem, we decide to obtain a temporary phone number and create an application that routes all messages received from our temporary number to our We are signing up for a service that requires a text message for authentication but we do not feel comfortable giving them our personal cell phone number. This philosophy leads us to the problem we are trying to solve.įor a moment, let’s imagine this scenario. A project that can be further expanded in countless ways after completion. When learning any technology, I believe in tackling a project that is simple yet functional. Learn how to expose our lambda function to the web using Amazon API Gateway service.Learn how to use Twilio's REST API in a lambda function.Learn how to create an AWS Lambda function that executes node.js code.Tutorial: Use Twilio's REST API on AWS Lambda
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |