Help Center/ API Gateway/ FAQs/ Calling APIs/ Does APIG Have a Limit on the Size of the API Request Body?
Updated on 2024-12-04 GMT+08:00

Does APIG Have a Limit on the Size of the API Request Body?

Shared gateway on the old console: APIG forwards only API requests whose body is no larger than 12 MB and rejects requests with a larger body. In this case, upload the request body to Object Storage Service (OBS).

Dedicated gateway: APIG forwards only API requests whose body is no larger than 12 MB. If your gateway will receive requests with a body larger than 12 MB, modify the request_body_size parameter on the gateway details page. This parameter indicates the maximum request body size allowed. The value ranges from 1 MB to 9536 MB.