From 96db8c6bac1fcdb5f670fe873a0233b8142fb63c Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Mon, 21 Sep 2015 17:12:17 +0200 Subject: [PATCH] added simple shell script to query the context broker --- contrib/fiware-query.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 contrib/fiware-query.sh diff --git a/contrib/fiware-query.sh b/contrib/fiware-query.sh new file mode 100755 index 000000000..c529f1f8d --- /dev/null +++ b/contrib/fiware-query.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +(curl 46.101.131.212:1026/v1/queryContext -s -S \ + --header 'Content-Type: application/json' \ + --header 'Accept: application/json' -d @- | python -mjson.tool) <