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 Risposta
0
Risposta accettata

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
con risposta 7 anni fa
profile picture
ESPERTO
verificato 5 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande