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.

Solution: Write a simple responder for a web request

Solution: Write a simple responder for a web request - Amazon Web Services (AWS) Tutorial

From the course: Building Dynamic Websites using AWS Lambdas

Start my 1-month free trial

Solution: Write a simple responder for a web request

- [Narrator] Well how'd you do? Hopefully this was really tough, and you got most of it. Even if you didn't figure everything out, the process of kind of working through this on your own, is incredibly valuable. So let's walk through it together. The first thing you need to do is to go into API Gateway, and get this invocation URL. This long thing, is going to be different for your API than mine. You're going to have to go back into your feedback form, which we can do now. And find where the action attribute should be. So here is my form, we've got a post method already, and we're going to add to that, action equals, and then you should put in the URL, for your API Gateway. But that's not all, because remember we specifically want the feedback resource. So add that slash and put feedback on the end. Obviously, if you change this or you change the stage, you would need to come back in and change this. So now I'm going to…

Contents