DEV Community

Carlos A. Martinez
Carlos A. Martinez

Posted on

Hello world - API Gateway AWS

Create, maintain, and secure APIs at any scale.

Amazon API Gateway is a fully managed service that makes it easy for developers to create, publish, maintain, monitor, and secure APIs at any scale. APIs act as the "front door" for applications to access data, business logic, or functionality from your backend services. Using API Gateway, you can create RESTful APIs and WebSocket APIs that enable real-time two-way communication applications. API Gateway supports containerized and serverless workloads, as well as web applications.

1 million API calls received free

How API Gateway works

Image description

Benefits

  • Efficient API development
  • Performance at any scale
  • Cost savings at scale
  • Easy monitoring
  • Flexible security controls
  • RESTful API options

Get started - example

REST API > Build

Image description

Create API
API name: first-API-Gateway

Image description

Create resource

Image description

Resource name: hello-world-API

Image description

Image description

Image description

Image description

Edit integration response > Mapping templates

Image description

{
    "message": "Hello world from API Gateway"
}
Enter fullscreen mode Exit fullscreen mode

Save

Deploy

Image description

Image description

api-gateway

Top comments (0)