mirror of
https://github.com/usebruno/bruno.git
synced 2025-01-04 04:59:12 +01:00
21 lines
276 B
Plaintext
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");
|
|
}
|