From the course: Learning Amazon Web Services Lambda

Unlock the full course today

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

Test your function with Postman

Test your function with Postman

- [Instructor] You added an API Gateway to trigger the Lambda function and you test it in the browser, but the browser only allows you to do simple test with GET method. So you can only trigger the function when POST or you can only trigger the function when GET or trigger in the different functions on different methods. So if you want to test the different methods you need to use a different tool. If you are familiar with the command line you can use something like curl. But if you are more visual one tool that you can use is Postman. Postman is an API development environment and it has many features including calling HTTP endpoints. Using Postman, you can call any HTTP method you need like GET, POST, DELETE, and others. Also add headers and make your request with more advanced configurations. You can download Postman from the URL in the screen and then create an account to get started. When you're ready, open Postman and…

Contents