Skip to content

lambda-local as endpoint for aws-sdk #213

@andreme

Description

@andreme

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: '...',
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions