Hacker News new | ask | show | jobs
by breandr 3398 days ago
You need to specify your MIME type (most commonly, application/json) to be treated as binary (from console: API -> Binary Support). In your Lambda function: `callback(null, { body: base64EncodedBody, status: 200, headers: {}, isBase64Encoded: true })`
1 comments

The mimetype of the response from lambda? Or the mimetype in the headers?