使用 AWS API Gateway 请求负载限制
AWS API-Gateway 的请求负载限制是多少?
What is the request-payload limit with AWS API-Gateway?
我需要将带有 base64
编码文件和一些其他参数的 JSON 负载发送到 API Gateway,然后将负载传递给 AWS Lambda.
I need to send a JSON payload with base64
encoded files and some other parameters to API Gateway, that will then pass on the payload to AWS Lambda.
我找不到与此相关的 AWS 文档.
I could not find AWS documentation regarding this.
API网关的最大payload为10MB,Lambda的最大payload为6MB,不能增加.
Maximum payload to API gateway is 10 MB and maximum payload for Lambda is 6 MB, which cannot be increased.
请在此处
但是,如果您的大小超过 10 MB,则可以通过将数据上传到 S3 存储桶来实现相同的替代方法(变通方法).详情请阅读以下文章(非官方文件):
But there is an alternative way (a work around) to achieve the same by uploading data to an S3 bucket if your size is more that 10 MB. Please read the below article for details (Unofficial document):
https://sookocheff.com/post/api/uploading-large-payloads-through-api-gateway/