1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-30 00:00:11 +01:00
VILLASnode/tools/fiware/fiware-query.sh

20 lines
No EOL
366 B
Bash
Executable file

#!/bin/bash
(curl http://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_sub3"
},
{
"type": "type_two",
"isPattern": "false",
"id": "rtds_sub4"
}
]
}
EOF