diff options
author | Christian Pointner <equinox@spreadspace.org> | 2017-11-16 22:38:37 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2017-11-16 22:38:37 +0100 |
commit | 25a6c9dd08d01fa24b769d3b12a68ac6418077a0 (patch) | |
tree | 5addddd460f2bc889e28fec31b5092acb169e420 /src/hub/test-client | |
parent | Merge branch 'clean-shutdown' (diff) |
move hub web api to /api/v1/ path
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 "" |