Skip to content

Commit 276bc2e

Browse files
committed
Add type to PATCH
1 parent 9b97b25 commit 276bc2e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.ja.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1027,7 +1027,7 @@ IoT Agent のノース・ポートを出入りするすべての通信は、標
10271027

10281028
```console
10291029
curl -iX PATCH \
1030-
'http://localhost:1026/v2/entities/urn:ngsi-ld:Bell:001/attrs' \
1030+
'http://localhost:1026/v2/entities/urn:ngsi-ld:Bell:001/attrs?type=Bell' \
10311031
-H 'Content-Type: application/json' \
10321032
-H 'fiware-service: openiot' \
10331033
-H 'fiware-servicepath: /' \
@@ -1054,7 +1054,7 @@ curl -iX PATCH \
10541054

10551055
```console
10561056
curl -iX PATCH \
1057-
'http://localhost:1026/v2/entities/urn:ngsi-ld:Door:001/attrs' \
1057+
'http://localhost:1026/v2/entities/urn:ngsi-ld:Door:001/attrs?type=Door' \
10581058
-H 'Content-Type: application/json' \
10591059
-H 'fiware-service: openiot' \
10601060
-H 'fiware-servicepath: /' \
@@ -1076,7 +1076,7 @@ curl -iX PATCH \
10761076

10771077
```console
10781078
curl -iX PATCH \
1079-
'http://localhost:1026/v2/entities/urn:ngsi-ld:Lamp:001/attrs' \
1079+
'http://localhost:1026/v2/entities/urn:ngsi-ld:Lamp:001/attrs?type=Lamp' \
10801080
-H 'Content-Type: application/json' \
10811081
-H 'fiware-service: openiot' \
10821082
-H 'fiware-servicepath: /' \

0 commit comments

Comments
 (0)