1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

added simple shell script to query the context broker

This commit is contained in:
Steffen Vogel 2015-09-21 17:12:17 +02:00
parent bbd119bae9
commit 96db8c6bac

15
contrib/fiware-query.sh Executable file
View file

@ -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) <<EOF
{
"entities": [
{
"type": "type_one",
"isPattern": "false",
"id": "rtds_sub1"
}
]
}
EOF