-
-
Save darrend/8529521 to your computer and use it in GitHub Desktop.
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
package scripts.rest | |
def values = [:] | |
params.each { name, value -> values[name] = value } | |
headers.each { name, value -> values[name] = value } | |
cookies.each { name, value -> values[name] = value } | |
sessionAttributes.each { name, value -> values[name] = value } | |
return values |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment