HTTPBin

Auth

Auth methods

Prompts the user for authorization using HTTP Basic Auth.

get
https://httpbin.org/basic-auth/{user}/{passwd}

Path Parameters

userstringrequired
passwdstringrequired

Response

Sucessful authentication.

get/basic-auth/{user}/{passwd}
 

Prompts the user for authorization using bearer authentication.

get
https://httpbin.org/bearer

Headers

Authorizationstring

Response

Sucessful authentication.

get/bearer
 

Prompts the user for authorization using Digest Auth.

get
https://httpbin.org/digest-auth/{qop}/{user}/{passwd}

Path Parameters

qopstringrequired

auth or auth-int

userstringrequired
passwdstringrequired

Response

Sucessful authentication.

get/digest-auth/{qop}/{user}/{passwd}
 

Prompts the user for authorization using Digest Auth + Algorithm.

get
https://httpbin.org/digest-auth/{qop}/{user}/{passwd}/{algorithm}

Path Parameters

qopstringrequired

auth or auth-int

userstringrequired
passwdstringrequired
algorithmstringrequired

MD5, SHA-256, SHA-512

Default:MD5

Response

Sucessful authentication.

get/digest-auth/{qop}/{user}/{passwd}/{algorithm}