File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -57,13 +57,23 @@ Then run `source .env` to load the environment variables.
57
57
#### Get Entities
58
58
59
59
``` bash
60
- curl -sX GET " ${BROKER_URL} /v2/entities" -H " Accept: application/json" | jq
60
+ curl -sX GET " ${BROKER_URL} /v2/entities" \
61
+ -H " Accept: application/json" \
62
+ -H " Authorization: Bearer ${BROKER_TOKEN} " \
63
+ -H " Fiware-Service: ${FIWARE_SERVICE} " \
64
+ -H " Fiware-ServicePath: ${FIWARE_SERVICEPATH} " \
65
+ | jq
61
66
```
62
67
63
68
#### Get Subscriptions
64
69
65
70
``` bash
66
- curl -sX GET " ${BROKER_URL} /v2/subscriptions" -H " Accept: application/json" | jq
71
+ curl -sX GET " ${BROKER_URL} /v2/subscriptions" \
72
+ -H " Accept: application/json" \
73
+ -H " Authorization: Bearer ${BROKER_TOKEN} " \
74
+ -H " Fiware-Service: ${FIWARE_SERVICE} " \
75
+ -H " Fiware-ServicePath: ${FIWARE_SERVICEPATH} " \
76
+ | jq
67
77
```
68
78
69
79
### Notes
You can’t perform that action at this time.
0 commit comments