diff options
author | Christian Pointner <equinox@spreadspace.org> | 2017-04-27 01:12:24 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2017-04-27 01:12:24 +0200 |
commit | 1461c1f8588809c5dd7c52ca92c05ea7eb6e526e (patch) | |
tree | e58833395199af3c029d6b0e596de68bda161ab2 /src/hub/test-client | |
parent | also move source info into bolt (diff) |
remove most of no-longer-needed stats stuff
Diffstat (limited to 'src/hub/test-client')
-rwxr-xr-x | src/hub/test-client | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/hub/test-client b/src/hub/test-client index d5756e7..fcb9a98 100755 --- a/src/hub/test-client +++ b/src/hub/test-client @@ -10,16 +10,13 @@ echo pipe-gram: import sample-gram.json echo ---------------------------------- while read x; do echo "$x" | socat stdio "unix-sendto:$TEST_D/pipegram"; done < ../../dat/sample-gram.json +echo post update +echo ----------- +curl -i --data @../../dat/sample-post.json 'http://localhost:8000/updates' + echo show query result echo ----------------- -curl -i 'http://localhost:8000/updates?from=2013-10-21T00:00:00Z&to=2013-10-21T12:31:00Z' - -echo '\npost update' -echo ------------ -curl -i --data @../../dat/sample-post.json 'http://localhost:8000/updates' +curl -i 'http://localhost:8000/updates' -echo show stats -echo ---------- -curl -i 'http://localhost:8000/stats' echo '\n\ndone' |