mirror of
https://github.com/usebruno/bruno.git
synced 2025-03-04 09:31:13 +01:00
22 lines
240 B
Plaintext
22 lines
240 B
Plaintext
meta {
|
|
name: Basic Auth 400
|
|
type: http
|
|
seq: 2
|
|
}
|
|
|
|
post {
|
|
url: {{host}}/api/auth/basic/protected
|
|
body: json
|
|
auth: none
|
|
}
|
|
|
|
auth:basic {
|
|
username: bruno
|
|
password: invalid
|
|
}
|
|
|
|
assert {
|
|
res.status: 401
|
|
res.body: Unauthorized
|
|
}
|