After deploying, next we will discuss how to handle the authentication and user controls. The steps are as follows:
- Now that we have successfully created the skeleton of our serverless API, we will now work on the nitty-gritty details which are needed to make it a fully functional API. We will start with applying the mapping templates. This can be done in the Integration Request menu. Clicking on the Integration Request link will take you to a console which looks like this:
- If you scroll down a bit in the same console, you will notice the Body Mapping Templates section at the end:
- Clicking on the Body Mapping Templates will unfurl the options available in that particular section:
- Select the second option which says When there are no templates defined (recommended). And then, click on the Add mapping template option and add application...