-
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 static response template to optionnaly match
Allow lambda's response to set statusCode and add headers to Kong's output response. If Content-Type is "application/json" and response from AWS Lambda match the following JSON : { status_code: <my_status_code>, body: <my_json_encoded_body>, headers: <my_headers> } Then the response from Kong will set the statusCode value to <my_status_code> and the body to <my_json_encoded_body> and add <my_headers> to response From #3208
- Loading branch information
Showing
1 changed file
with
27 additions
and
6 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