Skip to content

Instantly share code, notes, and snippets.

Created June 15, 2010 21:39
Show Gist options
  • Save anonymous/439775 to your computer and use it in GitHub Desktop.
Save anonymous/439775 to your computer and use it in GitHub Desktop.
curl -X POST -H "content-type: application/json" http://localhost:8098/mapred --data @-
{"inputs":"some_bucket", "query":[{"map": {"keep":true,"language":"javascript", "source":"function(v) {return [1];}"}}]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment