Binary uploads to API Gateway Proxy with Lambda Integration

0

It doesn't look like there's a way to upload binaries with an API Gateway Proxy/Lambda integration. Am I correct? If so, is there a clean workaround? Unfortunately, uploading to S3 and triggering a Lambda event isn't an option due to security constraints.

AWS
已提問 7 年前檢視次數 1235 次
1 個回答
0
已接受的答案

Does this blog post help at all?

In this post, I show how you can use the new binary support in API Gateway to turn this Lambda function into a public API, which you can use to include a binary image file in a POST request and get a thumbnail version of that same image. I also show how you can now use API Gateway and Lambda to create a thumbnail service, which you can use to include a binary image file in a POST request and get a thumbnail version of the same image.

https://aws.amazon.com/blogs/compute/binary-support-for-api-integrations-with-amazon-api-gateway/

AWS
Steve
已回答 7 年前
profile picture
專家
已審閱 5 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南