Verify API Gateway

In the AWS Console, type api gateway into the search box to navigate to the API Gateway console.

API Gateway

The Serverless Application that you created deployed a new Amazon API Gateway.

API Gateway

In the left menu, under the name of the newly created API, click the Resources link to view the resources for your API.

Select the ANY value under {proxy+}.

The content pane will show a graphical-like view of the full round-trip path of requests, starting with the client in a box on the left, and the backend resource in a box on the right.

API Gateway

In the client box is a Test link. Click that link. In the method test view, select GET as the method, /api/values as the path, then click the Test button. The response body (shown at upper-right of the pane) should show the same json response as you saw in the browser earlier.

API Gateway

Go to AWS Console and open CloudWatch.

API Gateway

Search for the aws-serverless (the name of the application that you have deployed) log group.

API Gateway

Open the log group. You will be able to see the logs sent from your application and log entry from Get() method.

API Gateway