mirror of
https://github.com/TECHNOFAB11/jwt-authorizer.git
synced 2025-12-11 23:50:07 +01:00
17 lines
208 B
Text
17 lines
208 B
Text
|
|
meta {
|
||
|
|
name: 401 No Token
|
||
|
|
type: http
|
||
|
|
seq: 5
|
||
|
|
}
|
||
|
|
|
||
|
|
get {
|
||
|
|
url: http://localhost:3000/api/protected
|
||
|
|
body: none
|
||
|
|
auth: none
|
||
|
|
}
|
||
|
|
|
||
|
|
assert {
|
||
|
|
res.status: eq 401
|
||
|
|
res.headers['www-authenticate']: eq Bearer
|
||
|
|
}
|