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:
parent
bbd119bae9
commit
96db8c6bac
1 changed files with 15 additions and 0 deletions
15
contrib/fiware-query.sh
Executable file
15
contrib/fiware-query.sh
Executable 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
|
Loading…
Add table
Reference in a new issue