capabilities.work

Customize a gateway response

One step with Amazon API Gateway. We can help you get access.

Get something done

Customize a gateway response

Use Amazon API Gateway: its Amazon API Gateway REST API Keys Gateway Responses API lets you customize a gateway response in a single step (PUT /restapis/{restapi_id}/gatewayresponses/{response_type}). capabilities.work can help you get signed up and connected.

  • Can I change the body API Gateway returns when a request is unauthorized?
  • How do I add CORS headers to gateway error responses?
Say it to your AI assistant
  • Set the {response_type} gateway response on REST API {restapi_id} to status {statusCode}.
  • Customize {response_type} on REST API {restapi_id} with templates {responseTemplates}.
  • Add headers {responseParameters} to the {response_type} response of REST API {restapi_id}.
For your developer

PUT /restapis/{restapi_id}/gatewayresponses/{response_type} in Amazon API Gateway REST API Keys Gateway Responses API. Full spec on APIs.io.