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