Process Flow - Request and response mapping
Client sends request
API Gateway receives request
Request Mapping Template applies
Mapped request sent to backend
Backend processes request
Backend sends response
Response Mapping Template applies
Mapped response sent to client
The client sends a request that API Gateway receives. It applies a request mapping template to transform the request before sending it to the backend. After the backend processes it and sends a response, API Gateway applies a response mapping template to transform the response before sending it back to the client.