From c3330191348b19be264eabf5e0acd5fb97f0568d Mon Sep 17 00:00:00 2001 From: Kristofer Hallin Date: Wed, 13 Oct 2021 08:57:25 +0200 Subject: Updated readme. --- README.md | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.1