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 5 years ago
asked 3 years ago
asked 4 years ago
- AWS OFFICIALUpdated 3 months ago
You need to base64 encode it and return it in the body of the response. See this doc for an example.
asked 5 years ago
asked 3 years ago
asked 4 years 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