Created
April 9, 2015 05:29
-
-
Save bryder/f5fff36a5f8538a5f25b to your computer and use it in GitHub Desktop.
curl way to use --data-urlencode The -G is crucial. -X GET does not work - the where clause does not get passed
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
curl -sS -G --data- { "_id": { "$in": [ "55106b4797b4502d68776cb2","55106b4797b4502d68776cc4","55106b4797b4502d68776cc7","55106b4897b4502d68776cca","55106b4797b4502d68776cc1","55106b4897b4502d68776ccd","55106b4797b4502d68776cb5","55106b4797b4502d68776cb8","55106b4797b4502d68776cbb","55106b4797b4502d68776cbe" ]}} , { "name": {"$in": [ ]} }]}' http://localhost:5001/node_hateoas_off | jq '._items[] | .name' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment