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