Skip to content

Commit 3f29fbd

Browse files
committed
Add apikey
1 parent 437c24d commit 3f29fbd

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docs/iot-agent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,6 +483,7 @@ curl -iX POST \
483483
"device_id": "motion001",
484484
"entity_name": "urn:ngsi-ld:Motion:001",
485485
"entity_type": "Motion",
486+
"apikey": "4jggokgpepnvsb2uv4s40d59ov",
486487
"timezone": "Europe/Berlin",
487488
"attributes": [
488489
{ "object_id": "c", "name": "count", "type": "Integer" }
@@ -651,7 +652,6 @@ curl -L -X POST 'http://localhost:4041/iot/devices' \
651652
-H 'fiware-service: openiot' \
652653
-H 'fiware-servicepath: /' \
653654
-H 'Content-Type: application/json' \
654-
-H 'Cookie: _csrf=MAPTGFPcoPnewsGCWklHi4Mq' \
655655
--data-raw '{
656656
"devices": [
657657
{

docs/iot-over-mqtt.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -531,6 +531,7 @@ curl -iX POST \
531531
"device_id": "motion001",
532532
"entity_name": "urn:ngsi-ld:Motion:001",
533533
"entity_type": "Motion",
534+
"apikey": "4jggokgpepnvsb2uv4s40d59ov",
534535
"protocol": "PDI-IoTA-UltraLight",
535536
"transport": "MQTT",
536537
"timezone": "Europe/Berlin",

0 commit comments

Comments
 (0)