Skip to content

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.

1 Answer
0
Accepted Answer

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
answered 9 years ago
EXPERT
reviewed 2 years ago
  • That example lambda function no longer exists. So, it is not helpful. It seems that the payload gets converted to BASE64 automatically.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.