mirror of
https://github.com/usebruno/bruno.git
synced 2025-05-05 15:32:58 +00:00
* Add @usebruno/requests package with digest authentication support --------- Co-authored-by: sanjai0py <sanjailucifer666@gmail.com> Co-authored-by: ramki-bruno <ramki@usebruno.com>
22 lines
267 B
Plaintext
22 lines
267 B
Plaintext
meta {
|
|
name: Digest Auth 200
|
|
type: http
|
|
seq: 1
|
|
}
|
|
|
|
get {
|
|
url: https://httpbin.org/digest-auth/auth/foo/passwd
|
|
body: none
|
|
auth: digest
|
|
}
|
|
|
|
auth:digest {
|
|
username: foo
|
|
password: passwd
|
|
}
|
|
|
|
assert {
|
|
res.status: eq 200
|
|
res.body.authenticated: isTruthy
|
|
}
|