1 Answer
- Newest
- Most votes
- Most comments
2
You need to base64 encode it and return it in the body of the response. See this doc for an example.
Relevant content
- asked 2 years ago
- asked 6 months ago
- Accepted Answerasked 2 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated a year ago
Is it necessary to decode the base64 encoding ?
Also the documentation is not clear on connecting it to api gateway in appropriate manner for sending images as a response .
The document mentions using a Lambda proxy integration for API Gateway at the top - https://docs.aws.amazon.com/apigateway/latest/developerguide/set-up-lambda-proxy-integrations.html