Getting Started
Guides
APIs
Sign up
Log in
Search
K
Log in
Sign up
Docs
HTTPBin
Auth
Auth methods
Prompts the user for authorization using HTTP Basic Auth.
get
https://httpbin.org
/basic-auth/{user}/{passwd}
Path Parameters
user
string
required
passwd
string
required
Response
200
Sucessful authentication.
get
/basic-auth/{user}/{passwd}
Try It!
Path Parameters
*
user
*
passwd
Query Parameters
Headers
Body
Shell
200
Prompts the user for authorization using bearer authentication.
get
https://httpbin.org
/bearer
Headers
Authorization
string
Response
200
Sucessful authentication.
get
/bearer
Try It!
Path Parameters
Query Parameters
Headers
Authorization
Body
Shell
200
Prompts the user for authorization using Digest Auth.
get
https://httpbin.org
/digest-auth/{qop}/{user}/{passwd}
Path Parameters
qop
string
required
auth or auth-int
user
string
required
passwd
string
required
Response
200
Sucessful authentication.
get
/digest-auth/{qop}/{user}/{passwd}
Try It!
Path Parameters
*
qop
*
user
*
passwd
Query Parameters
Headers
Body
Shell
200
Prompts the user for authorization using Digest Auth + Algorithm.
get
https://httpbin.org
/digest-auth/{qop}/{user}/{passwd}/{algorithm}
Path Parameters
qop
string
required
auth or auth-int
user
string
required
passwd
string
required
algorithm
string
required
MD5, SHA-256, SHA-512
Default:
MD5
Response
200
Sucessful authentication.
get
/digest-auth/{qop}/{user}/{passwd}/{algorithm}
Try It!
Path Parameters
*
qop
*
user
*
passwd
*
algorithm
Query Parameters
Headers
Body
Shell
200