summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristofer Hallin <kristofer@sunet.se>2021-10-13 08:57:25 +0200
committerKristofer Hallin <kristofer@sunet.se>2021-10-13 08:57:25 +0200
commitc3330191348b19be264eabf5e0acd5fb97f0568d (patch)
treee31d36d8572ac6e0b338adfce616a59b4305df6b
parentcd80cf3e00b76d8aa0b2819552525d7959e9dd1b (diff)
Updated readme.
-rw-r--r--README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index d4af5c0..4348660 100644
--- a/README.md
+++ b/README.md
@@ -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