课程: Building Dynamic Websites using AWS Lambdas
今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
Solution: Add in the information from the feedback form to your Lambda function - Amazon Web Services (AWS)教程
课程: Building Dynamic Websites using AWS Lambdas
Solution: Add in the information from the feedback form to your Lambda function
(lively music) - [Trainer] How did it go? Hopefully pretty smoothly. You've actually already done something very similar to this when you pulled out the name submitted as part of the feedback form in our response, we just need to do that again throughout our email. So the to address should stay the same. We're always going to send that to the same person an info or support email. It's the message body and specifically the data past the text that we want to update. So let's fill in some things here. Let's provide the name of the submitter. And for each one of these we can just add to the stream from our params array the value of the relevant field. So that's easy enough. And then I'm going to use the /n as a carriage return or an Enter. Then I want to provide the Email address submitted, so in case our support person wants to actually get in touch with them and deal with perhaps a really positive or a really negative…
随堂练习,边学边练
下载课堂讲义。学练结合,紧跟进度,轻松巩固知识。
内容
-
-
-
-
-
(已锁定)
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 秒
-
(已锁定)
-
-