Skip to content

Commit 57e3462

Browse files
committed
Add quotes
1 parent 28fb398 commit 57e3462

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1072,14 +1072,14 @@ If a request to the PEP Proxy is made without any access token as shown:
10721072

10731073
```console
10741074
curl -X GET \
1075-
http://localhost:8000/orion/v2/entities/urn:ngsi-ld:Store:001?options=keyValues
1075+
'http://localhost:8000/orion/v2/entities/urn:ngsi-ld:Store:001?options=keyValues'
10761076
```
10771077

10781078
#### Response:
10791079

10801080
The response is a **401 Unauthorized** error code, with the following explanation:
10811081

1082-
```
1082+
```text
10831083
Request forbidden by authorization service Keyrock.
10841084
```
10851085

@@ -1096,7 +1096,7 @@ curl -iX POST \
10961096
-H 'Accept: application/json' \
10971097
-H 'Authorization: Basic dHV0b3JpYWwtZGNrci1zaXRlLTAwMDAteHByZXNzd2ViYXBwOnR1dG9yaWFsLWRja3Itc2l0ZS0wMDAwLWNsaWVudHNlY3JldA==' \
10981098
-H 'Content-Type: application/x-www-form-urlencoded' \
1099-
--data "username=alice-the-admin@test.com&password=test&grant_type=password"
1099+
--data "username=bob-the-manager@test.com&password=test&grant_type=password"
11001100
```
11011101

11021102
#### Response:
@@ -1125,7 +1125,7 @@ expected.
11251125

11261126
```console
11271127
curl -X GET \
1128-
http://localhost:8000/orion/v2/entities/urn:ngsi-ld:Store:001?options=keyValues \
1128+
'http://localhost:8000/orion/v2/entities/urn:ngsi-ld:Store:001?options=keyValues' \
11291129
-H 'Authorization: Bearer {{X-Access-token}}'
11301130
```
11311131

0 commit comments

Comments
 (0)