Building and testing your first POST API method

In this recipe, we will create a simple POST API method that has an AWS integration with Lambda. A REST client will send a JSON request body to the API method in the format required by our Lambda, which will be passed through to the Lambda. We will use the same Lambda from the previous recipe. 

GET is the default HTTP method for web browser requests; hence, we could invoke GET API methods from the browser in the previous recipes. To invoke other HTTP methods or override various HTTP options, we need to use a REST client. We will use the Postman REST client, which is available as a standalone app, as well as an extension to the Chrome browser. 

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.22.77.63