课程: Building Dynamic Websites using AWS Lambdas

今天就学习课程吧!

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

Test your new JavaScript submission

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…

内容