Getting Started
Guides
APIs
MCP Servers
Sign up
Log in
Search
K
Log in
Sign up
Docs
httpbin.org
Copy page
More actions
View as Markdown
View page as Markdown
Open in ChatGPT
Ask questions about this page
Open in Claude
Ask questions about this page
Copy MCP server
Copy MCP server URL
Connect to Cursor
Install MCP Server on Cursor
Connect to VS Code
Install MCP Server on VS Code
Download spec
JSON
Download spec as JSON
YAML
Download spec as YAML
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