mirror of
https://github.com/usebruno/bruno.git
synced 2024-12-12 17:50:51 +01:00
22 lines
278 B
Plaintext
22 lines
278 B
Plaintext
meta {
|
|
name: Basic Auth 200
|
|
type: http
|
|
seq: 1
|
|
}
|
|
|
|
post {
|
|
url: {{host}}/api/auth/basic/protected
|
|
body: json
|
|
auth: basic
|
|
}
|
|
|
|
auth:basic {
|
|
username: bruno
|
|
password: {{basic_auth_password}}
|
|
}
|
|
|
|
assert {
|
|
res.status: 200
|
|
res.body.message: Authentication successful
|
|
}
|