课程: Building Dynamic Websites using AWS Lambdas

今天就学习课程吧!

今天就开通帐号,24,700 门业界名师课程任您挑!

Solution: Write a simple responder for a web request

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…

内容