← Back to Home

Digest Auth

/digest-auth/:qop/:user/:passwd
Tests HTTP Digest authentication.

Parameters

qop path
Quality of protection (auth or auth-int)
user path
Username
passwd path
Password

Examples

curl
curl --digest --user admin:secret https://tcpdata.com/digest-auth/auth/admin/secret
JavaScript (fetch)
// Digest auth requires specialized libraries in JavaScript
// Use a library like digest-fetch for browser support
Python (requests)
import requests
from requests.auth import HTTPDigestAuth

response = requests.get('https://tcpdata.com/digest-auth/auth/admin/secret',
    auth=HTTPDigestAuth('admin', 'secret'))
print(response.json())