mirror of
https://github.com/usebruno/bruno.git
synced 2024-12-03 05:14:04 +01:00
4d820af4e0
* adding wsse auth logic * adding wsse auth logic to electron * adding wsse auth formatting * Refactoring WSSE 'secret' to 'password' * Incorporating PR feedback * Removed unused packages from package.json * Fixed issue caused when resolving merge conflicts and added new route to test wsse * Removed deprecated package usages from bruno-cli * Fixed tests --------- Co-authored-by: dwolter-emarsys <dylan.wolter@emarsys.com>
54 lines
714 B
Plaintext
54 lines
714 B
Plaintext
meta {
|
|
type: collection
|
|
}
|
|
|
|
headers {
|
|
content-type: application/json
|
|
Authorization: Bearer 123
|
|
~transaction-id: {{transactionId}}
|
|
}
|
|
|
|
auth {
|
|
mode: none
|
|
}
|
|
|
|
auth:basic {
|
|
username: john
|
|
password: secret
|
|
}
|
|
|
|
auth:wsse {
|
|
username: john
|
|
password: secret
|
|
}
|
|
|
|
auth:bearer {
|
|
token: 123
|
|
}
|
|
|
|
auth:digest {
|
|
username: john
|
|
password: secret
|
|
}
|
|
|
|
vars:pre-request {
|
|
departingDate: 2020-01-01
|
|
~returningDate: 2020-01-02
|
|
}
|
|
|
|
vars:post-response {
|
|
~transactionId: $res.body.transactionId
|
|
}
|
|
|
|
script:pre-request {
|
|
console.log("In Collection pre Request Script");
|
|
}
|
|
|
|
script:post-response {
|
|
console.log("In Collection post Request Script");
|
|
}
|
|
|
|
docs {
|
|
This request needs auth token to be set in the headers.
|
|
}
|