Closed davidgatti closed 5 years ago
Same here even for the simplest of bodys
In case, if you're using it in lambda, body is expected to be encoded so you need to handle it like below.
let body = event.body;
if (event.isBase64Encoded) {
console.log('body is base-64 encoded');
body = Buffer.from(event.body, 'base64');
}
hey,
I am having same issue. var parts = multipart.Parse(body, boundary);
parts is empty!?
Hello,
When I pass this for example:
I get back an empty array, any idea what could be the problem?