Created
February 3, 2020 12:29
-
-
Save secretshardul/15b39814196101143797714c8300789f to your computer and use it in GitHub Desktop.
Demonstration for returning image from Lambda with Lambda integration. The handler simply returns 'params' parameter from the JSON object passed to it by API gateway.
This file contains hidden or 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
exports.handler = async (event) => { | |
return event.params; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment