diff options
author | Kristofer Hallin <kristofer@sunet.se> | 2021-10-13 08:57:25 +0200 |
---|---|---|
committer | Kristofer Hallin <kristofer@sunet.se> | 2021-10-13 08:57:25 +0200 |
commit | c3330191348b19be264eabf5e0acd5fb97f0568d (patch) | |
tree | e31d36d8572ac6e0b338adfce616a59b4305df6b /README.md | |
parent | cd80cf3e00b76d8aa0b2819552525d7959e9dd1b (diff) |
Updated readme.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -93,3 +93,7 @@ Try retreiving all observations for a user with read access to 'sunet.se': We might also filter the data: curl -s -u user1:pw1 http://localhost:80/sc/v0/get?port=111 | json_pp -json_opt utf8,pretty + +Believe it or not, but we can also get a single observation by looking up its key: + + curl -s -u user1:pw1 http://localhost:80/sc/v0/get/1633633714355 | json_pp -json_opt utf8,pretty |