AWS Gateway API and file response

Is it possible for the AWS Gateway API to respond with a file (zip file) with HTTP endpoint integration? I heard that the AWS Gateway API does not support binary formats, but was not sure if it was for input or input and output.

I have an existing HTTP endpoint and want to add the AWS Gateway API to it; it returns a file (zip) in response.

+4
source share
2 answers

So far, you cannot respond with a Zip file (any binary type) using the API gateway. (As indicated in the official AWS forum )

As a job, you can save your file to S3 and send a link to the file using the Gateway API.

+2

, API- UTF-8. S3 . API S3 URL- S3.

,

0

Source: https://habr.com/ru/post/1623914/


All Articles