lambda-local icon indicating copy to clipboard operation
lambda-local copied to clipboard

lambda-local as endpoint for aws-sdk

Open andreme opened this issue 2 years ago • 1 comments

aws-sdk sends requests as 'content-type': 'binary/octet-stream', which watch doesn't support. Would you accept a PR that uses raw-body to handle those requests?

await lambdaLocal.execute({
	event: JSON.parse((await getRawBody(ctx.req)).toString()),
	lambdaPath: '...',
});

andreme avatar Jul 12 '21 23:07 andreme

Sure!

gpotter2 avatar Aug 17 '21 06:08 gpotter2