News for hackers. Stuff that matters.
Re:AWS Lambda – Best practices by breandr on Thursday March 02, 2017 @12:44PM (#13776252)
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 })`
Re:AWS Lambda – Best practices by wiredfool on Thursday March 02, 2017 @04:16PM (#13778304)
The mimetype of the response from lambda? Or the mimetype in the headers?