diff options
Diffstat (limited to 'src/hub/test-client')
-rwxr-xr-x | src/hub/test-client | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/hub/test-client b/src/hub/test-client index 620d9a4..0e3424e 100755 --- a/src/hub/test-client +++ b/src/hub/test-client @@ -18,18 +18,18 @@ case $1 in web) echo "web: post sample-web.json" echo "-------------------------" - time curl 'http://localhost:8000/updates' -d @../../dat/sample-web.json + time curl 'http://localhost:8000/api/v1/updates' -d @../../dat/sample-web.json echo "" ;; web-bulk) echo "web: post sample-web-bulk.json" echo "------------------------------" - time curl 'http://localhost:8000/updates/_bulk' -d @../../dat/sample-web-bulk.json + time curl 'http://localhost:8000/api/v1/updates/_bulk' -d @../../dat/sample-web-bulk.json echo "" ;; esac echo "store contents" echo "--------------" -curl 'http://localhost:8000/updates/_bulk' | jq . +curl 'http://localhost:8000/api/v1/updates/_bulk' | jq . echo "" |