mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-18 19:19:45 +05:30
20 lines
474 B
YAML
20 lines
474 B
YAML
url: 'http://localhost:8000/api.php/tokeninfo'
|
|
request:
|
|
method: GET
|
|
headers:
|
|
-
|
|
key: Authorization
|
|
value: Bearer foobar
|
|
response:
|
|
statusCode: 401
|
|
headers:
|
|
-
|
|
key: Content-type
|
|
value: application/json
|
|
body:
|
|
-
|
|
key: error
|
|
value: "access_denied"
|
|
-
|
|
key: message
|
|
value: "The resource owner or authorization server denied the request." |