bruno/packages/bruno-tests/collection/auth/basic/via auth/Basic Auth 200.bru
2024-01-29 13:34:55 +05:30

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
}