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.
Test your new JavaScript submission - Amazon Web Services (AWS) Tutorial
From the course: Building Dynamic Websites using AWS Lambdas
Test your new JavaScript submission
- [Brett] All right, you now have an updated feedback form that has some JavaScript in it. We verified that by viewing our page source. But there's a problem. And I'm going to be honest with you. It's not a problem I actually intended to make part of this course. It reflects sort of normal development experience. And so I wanted to take this opportunity to show you exactly what I did, the mistake I made, because it's a really easy mistake to make, and I want you to be aware of it. I'm going to go back into my feedback form. And if you recall, when we were setting up these key-value pairs in our ajax command, I grabbed the endpoint for our API gateway from the AWS console. API gateway right here, right? Everything sounds good, right? But if you recall, the resource we actually want to submit to is /feedback. There is an additional piece of this URL, and I neglected to actually put that in the feedback form. So I'm…
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
-
-
-
-
-
(Locked)
Submit to an API with JavaScript6m 28s
-
(Locked)
Test your new JavaScript submission2m 59s
-
(Locked)
Deal with the dreaded CORS problem3m 58s
-
(Locked)
Challenge: Update your HTML with the Lambda response2m 32s
-
(Locked)
Solution: Update your HTML with the Lambda response4m 20s
-
(Locked)
Get SES ready for sending email2m 43s
-
(Locked)
Give your Lambda function permissions to use SES4m 15s
-
(Locked)
Send an email from your Lambda function5m 54s
-
(Locked)
Convert your Lambda to run synchronously5m 17s
-
(Locked)
Challenge: Add in the information from the feedback form to your Lambda function1m 48s
-
(Locked)
Solution: Add in the information from the feedback form to your Lambda function3m 47s
-
(Locked)
-
-