summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2017-05-07 20:07:44 +0200
committerChristian Pointner <equinox@spreadspace.org>2017-05-07 20:07:44 +0200
commitbf09dcdc231fe3d4ae25c2d82e9f235e4eda2a9e (patch)
treeff715d02447cc0ceafdc35618f4a15810e4bc1a6
parentimplemented post updates (diff)
update test client to use new _bulk api
-rwxr-xr-xsrc/hub/test-client4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hub/test-client b/src/hub/test-client
index 31e7a46..620d9a4 100755
--- a/src/hub/test-client
+++ b/src/hub/test-client
@@ -24,12 +24,12 @@ case $1 in
web-bulk)
echo "web: post sample-web-bulk.json"
echo "------------------------------"
- time curl 'http://localhost:8000/updates?bulk=1' -d @../../dat/sample-web-bulk.json
+ time curl 'http://localhost:8000/updates/_bulk' -d @../../dat/sample-web-bulk.json
echo ""
;;
esac
echo "store contents"
echo "--------------"
-curl 'http://localhost:8000/updates' | jq .
+curl 'http://localhost:8000/updates/_bulk' | jq .
echo ""