jwt-authorizer/demo-server/bruno-e2e/401 No Token.bru

17 lines
208 B
Text
Raw Normal View History

2024-05-13 08:25:29 +02:00
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
}