From the course: Building Dynamic Websites using AWS Lambdas

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Routing requests to Lambda

Routing requests to Lambda - Amazon Web Services (AWS) Tutorial

From the course: Building Dynamic Websites using AWS Lambdas

Start my 1-month free trial

Routing requests to Lambda

- [Instructor] A brief interlude here before we get back into writing Lambda. I've mentioned a couple of times, the importance of understanding the request response model. It's going to be even more important now that we have to actually build out an API gateway. So here you see a browser going to an API gateway. That funny little icon is AWS's standard icon for API gateway and we have a resource called feedback. So when the feedback form, for example, is posted to the API gateway, it sends along the form content and the post request. Then the API gateway maps the URL that's sent to it to the correct resource, in this case, the feedback resource. This is part of why it's important to name your resources so that they will appear in the URL and be intuitive. So it goes to the API gateway, the API gateway says, "Oh, slash feedback? "That's my feedback resource. "Great, I know what to do with that." Then the feedback resource…

Contents