课程: Building Dynamic Websites using AWS Lambdas
今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
Test your new JavaScript submission - Amazon Web Services (AWS)教程
课程: 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…
随堂练习,边学边练
下载课堂讲义。学练结合,紧跟进度,轻松巩固知识。
内容
-
-
-
-
-
(已锁定)
Submit to an API with JavaScript6 分钟 28 秒
-
(已锁定)
Test your new JavaScript submission2 分钟 59 秒
-
(已锁定)
Deal with the dreaded CORS problem3 分钟 58 秒
-
(已锁定)
Challenge: Update your HTML with the Lambda response2 分钟 32 秒
-
(已锁定)
Solution: Update your HTML with the Lambda response4 分钟 20 秒
-
(已锁定)
Get SES ready for sending email2 分钟 43 秒
-
(已锁定)
Give your Lambda function permissions to use SES4 分钟 15 秒
-
(已锁定)
Send an email from your Lambda function5 分钟 54 秒
-
(已锁定)
Convert your Lambda to run synchronously5 分钟 17 秒
-
(已锁定)
Challenge: Add in the information from the feedback form to your Lambda function1 分钟 48 秒
-
(已锁定)
Solution: Add in the information from the feedback form to your Lambda function3 分钟 47 秒
-
(已锁定)
-
-