Skip to content

Instantly share code, notes, and snippets.

@kevsmith
Forked from anonymous/gist:439775
Created June 15, 2010 21:47
Show Gist options
  • Save kevsmith/439789 to your computer and use it in GitHub Desktop.
Save kevsmith/439789 to your computer and use it in GitHub Desktop.
curl -X POST -H "content-type: application/json" http://localhost:8098/mapred --data @-
{"inputs":"stats-Ev::AssetCreation", "query":[{"map": {"language":"javascript", "source":"function(v) {return [1];}"}}]}
@kevsmith
Copy link
Author

curl -X POST -H "content-type: application/json" http://localhost:8098/mapred --data @-
{"inputs":"stats-Ev::AssetCreation", "query":[{"map": {"language":"javascript", "source":"function(v) {return [1];}", "keep": true}}]}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment