-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(aws-lambda) add support for forwarded request method/uri/body
New optional configuration properties: - `forward_request_method` - `forward_request_uri` - `forward_request_headers` - `forward_request_body` If specified, the request body sent to the invoked Lambda will contain the desired attributes of the client's request as a JSON payload. If none of the above values are specified, the upstream body contains a JSON payload which is merged from the request's body data and its query string. This is to preserve backwards compatibility with previous versions of this plugin. Original patch from Andrei Kishkevich <[email protected]> Reworked by Thibault Charbonnier <[email protected]> Signed-off-by: Thibault Charbonnier <[email protected]>
- Loading branch information
1 parent
18771ce
commit df757ba
Showing
4 changed files
with
259 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters