Created
December 31, 2014 15:15
-
-
Save goooooouwa/f078f52414e354bd6add to your computer and use it in GitHub Desktop.
minimal working version of post request to get search result in xls
This file contains hidden or 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 -XPOST -H "Content-Type: application/json" -d '{"document": {}}' http://127.0.0.1:3000/documents/search.xls -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
for reason why we use an empty document object as minimal request body, see this answer