Category: Database, Data, yaml

As a leading serverless provider, Amazon Web Services (AWS) has made a huge contribution to the world of serverless development, and in this article, we will explain general API implementation concepts using AWS Lambda and other AWS services. AWS Lambda is an AWS service that is responsible for running particular functions in response to particular triggers — events happening in the application.

API Gateway is the fundamental part of serverless API, because it is responsible for the connection between a defined API and the function handling requests to that API.

This function will run in response to POST requests and will parse the author and text of the message from the request body and save that data into the database.

When the process is finished, open the AWS web console in your browser, navigate to API Gateway service, find the newly created API, and copy the URL to the root endpoint of your API.

Related Articles