Articles → AWS → Create Your First Hello World API Using AWS API GatewayCreate Your First Hello World API Using AWS API GatewayIn the introduction to Amazon API Gateway article, we have created an example API. In this article, we will create our first hello-world API.Create API While creating the API, select the option New API instead of Example API.Enter the API name and click on the Create API button. The following screen will appear.From the Actions dropdown, click on the Create Resource option.A screen will appear to enter the resource details.Enter the Resource Name and click on the Create Resource button. Once the resource is created, select the resource, and click on Actions Create Method.A dropdown will appear to select the HTTP method. For this article, we will select the GET method.Once the method is select, click on the ✓ button.A section will appear on the right-hand side. Select the Integration type as Mock.Click on the Save button. The following screen will appear.Click on the Integration Response section. The following screen will appear.Scroll down to the Mapping Templates section and click on the Add mapping templates link.A textbox will appear to enter the Content-Type. Enter the value application/json and click on the ✓ button.Another section will appear to enter the template.Click on the Save button.Output Posted By - Karan Gupta Posted On - Wednesday, January 4, 2023 Query/Feedback Your Email Id** Subject* Query/Feedback Characters remaining 250**
Query/Feedback