Created
January 7, 2016 00:05
-
-
Save sapessi/9e62fb9e1a2b325c2d6d to your computer and use it in GitHub Desktop.
Retrieve query string parameters in API Gateway and create an object for AWS Lambda
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
{ | |
#set($queryMap = $input.params().querystring) | |
#foreach( $key in $queryMap.keySet()) | |
"$key" : "$queryMap.get($key)" | |
#if($foreach.hasNext),#end | |
#end | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment