Skip to content

Commit a6cfcbe

Browse files
committed
Add note
1 parent 57e3462 commit a6cfcbe

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -1458,7 +1458,7 @@ can be used for device provisioning.
14581458

14591459
```console
14601460
curl -X POST \
1461-
http://localhost:3005/oauth2/token \
1461+
'http://localhost:3005/oauth2/token' \
14621462
-H 'Accept: application/json' \
14631463
-H 'Authorization: Basic dHV0b3JpYWwtZGNrci1zaXRlLTAwMDAteHByZXNzd2ViYXBwOnR1dG9yaWFsLWRja3Itc2l0ZS0wMDAwLWNsaWVudHNlY3JldA==' \
14641464
-d 'username=alice-the-admin@test.com&password=test&grant_type=password&scope=permanent'
@@ -1491,6 +1491,8 @@ been provisioned as shown:
14911491

14921492
#### :two::one: Request:
14931493

1494+
> **Note:** use the `access_token` from the previous request.
1495+
14941496
```console
14951497
curl -iX PUT \
14961498
'http://localhost:4041/iot/services?resource=/iot/d&apikey=1068318794' \
@@ -1499,7 +1501,7 @@ curl -iX PUT \
14991501
-H 'fiware-servicepath: /' \
15001502
-d '{
15011503
"cbroker": "http://orion-proxy:1027",
1502-
"trust": "30a5ce4c71e416bd199dcdcb7f8bcd8d70e8bb5e"
1504+
"trust": "{{Access-token}}"
15031505
}'
15041506
```
15051507

0 commit comments

Comments
 (0)