Currently, the only way to run your lambda function is with the test button. In order to run the function from elsewhere, you need to create a trigger. In our case, we will be creating an HTTP endpoint with API Gateway.
API Gateway wraps requests and responses in its own format, which you will learn how to account for when writing your lambda functions in this lesson.