From bf09dcdc231fe3d4ae25c2d82e9f235e4eda2a9e Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 7 May 2017 20:07:44 +0200 Subject: update test client to use new _bulk api --- src/hub/test-client | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/hub') 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 "" -- cgit v1.2.3