Amazon API Gateway Supports Content Encoding for API Responses

Posted on: Dec 19, 2017

You can now enable content encoding support for API Responses in Amazon API Gateway. Content encoding allows API clients to request content to be compressed before being sent back in the response to an API request. This reduces the amount of data that is sent from API Gateway to API clients and decreases the time it takes to transfer the data. You can enable content encoding in the API definition. You can also set the minimum response size that triggers compression. By default, APIs do not have content encoding support enabled. 

To get started, create or update your API settings using the AWS Management Console, AWS CLI, or SDKs and APIs. Visit our documentation to learn more. 

This feature is now available in US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), EU (London), Asia Pacific (Singapore), Asia Pacific (Tokyo), Asia Pacific (Sydney), Asia Pacific (Seoul), and Asia Pacific (Mumbai), AWS GovCloud (US) and China (Beijing) AWS regions. Visit our product page for more information about Amazon API Gateway.