From the course: Learning Amazon Web Services Lambda

Unlock the full course today

Join today to access over 24,900 courses taught by industry experts.

Run and test your function in the cloud

Run and test your function in the cloud

- [Instructor] Now that our stack, our project, is deployed to the cloud, we can start sending request to test these functions using real URLs and see how they work. So, let's go to the function that we just deployed. Let's pick the one that is rolling a dice. That is the one we created. So, we can click here and it will open. So here we have the function, we have the API gateway, and if we click on the API gateway, we will get the link to the API. Also, if you remember from SAM, here is the API gateway as well. You can take that one, just change hello for dice, and then paste it in Postman. So, here it was dice and then, it was a GET. So, let's see what happens, if this works, and we get a message of 3. We try it again. We roll the dice. 5, 6, 3, 4, 1. That's good. This is working.

Contents