Auth: Digest/DigestAuth Request
auth_digest_digestauth_requestTriggers a Digest Auth challenge by requesting a protected endpoint, then extracts realm and nonce from the 401 response for hashing subsequent authenticated requests.
Instructions
Performing a simple GET request to this endpoint returns status code 401 Unauthorized with WWW-Authenticate header containing information to successfully authenticate subsequent requests.
The WWW-Authenticate header must be processed to extract realm and nonce values to hash subsequent requests.
When this request is executed within Postman, the script attached with this request does the hard work of extracting realm and nonce from the header and set it as global variables named echo_digest_nonce and echo_digest_realm.
These variables are re-used in subsequent request for seamless integration of the two requests.
(Postman request: Auth: Digest/DigestAuth Request | GET https://postman-echo.com/digest-auth)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "auth_digest_digestauth_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||