bruno/packages/bruno-tests/collection/auth/inherit auth/inherit Bearer Auth 200.bru

21 lines
276 B
Plaintext

meta {
name: inherit Bearer Auth 200
type: http
seq: 2
}
get {
url: {{host}}/api/auth/bearer/protected
body: none
auth: inherit
}
assert {
res.status: 200
res.body.message: Authentication successful
}
script:post-response {
bru.setEnvVar("foo", "bar");
}