-
-
Save monken/973390 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
# this returns results | |
curl -XGET 'http://api.beta.metacpan.org/release/_search?scroll=5m&pretty=1' -d ' | |
{ | |
"query" : { | |
"term" : { | |
"status" : "latest" | |
} | |
}, | |
"explain" : 0, | |
"size" : 10 | |
} | |
' | |
# this returns no results | |
curl -XGET 'http://api.beta.metacpan.org/module/_search?scroll=5m&pretty=1' -d ' | |
{ | |
"query" : { | |
"term" : { | |
"status" : "latest" | |
} | |
}, | |
"explain" : 0, | |
"size" : 10 | |
} | |
' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment