8000 lambda-local as endpoint for aws-sdk · Issue #213 · ashiina/lambda-local · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
lambda-local as endpoint for aws-sdk #213
Open
@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

      0