From the course: Building Dynamic Websites using AWS Lambdas
Unlock the full course today
Join today to access over 22,400 courses taught by industry experts or purchase this course individually.
Solution: Update your HTML with the Lambda response - Amazon Web Services (AWS) Tutorial
From the course: Building Dynamic Websites using AWS Lambdas
Solution: Update your HTML with the Lambda response
(upbeat theme music) - [Instructor] How did you do? Honestly this is not an exercise so much about request and response and AWS and LAMBDA as much as it is about the supplemental sorts of tasks you're going to have to be able to perform to interact with an API Gateway and LAMBDA functions. And I should say at the outset that you probably came up with a solution different than mine, and that's okay. And your solution may actually be quite a bit more elegant. I'm going to take a bit of a brute force approach because I just want to highlight what we're actually doing. So, let's get to it. The first thing I wanted to do is determine which portion of my form I wanted to replace. And so I found the whole form and it turns out that really everything from line 66 down is part of this feedback div. I really don't want, see in line 68 the h2 thing talked to us? I really kind of want to take everything within this container…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
Submit to an API with JavaScript6m 28s
-
Test your new JavaScript submission2m 59s
-
Deal with the dreaded CORS problem3m 58s
-
Challenge: Update your HTML with the Lambda response2m 32s
-
Solution: Update your HTML with the Lambda response4m 20s
-
Get SES ready for sending email2m 43s
-
Give your Lambda function permissions to use SES4m 15s
-
Send an email from your Lambda function5m 54s
-
Convert your Lambda to run synchronously5m 17s
-
Challenge: Add in the information from the feedback form to your Lambda function1m 48s
-
Solution: Add in the information from the feedback form to your Lambda function3m 47s
-
-
-