File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1072,14 +1072,14 @@ If a request to the PEP Proxy is made without any access token as shown:
10721072
10731073` ` ` console
10741074curl -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
10801080The response is a **401 Unauthorized** error code, with the following explanation :
10811081
1082- ` ` `
1082+ ` ` ` text
10831083Request 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
11271127curl -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
You can’t perform that action at this time.
0 commit comments