Skip to content
This repository was archived by the owner on Oct 27, 2022. It is now read-only.

feat: add raw body as inputs of http lambda#14

Open
8ns wants to merge 1 commit intomainfrom
feat/add-raw-body-as-http-lambda-input
Open

feat: add raw body as inputs of http lambda#14
8ns wants to merge 1 commit intomainfrom
feat/add-raw-body-as-http-lambda-input

Conversation

@8ns
Copy link
Copy Markdown
Contributor

@8ns 8ns commented Jul 12, 2022

Add rawBody (as string) to the HTTP lambda inputs

Context

The raw body is used to check header signatures.

Note: I tried at first by stringifying the body after the framework has parsed and validated it, but unfortunately this could alter the properties' position in the string, breaking the signature checking algorithm.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant