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
Prompts the user for authorization using HTTP Basic Auth.
get
https://httpbin.org
/hidden-basic-auth/{user}/{passwd}
Path Parameters
user
string
required
passwd
string
required
Response
200
Sucessful authentication.
get
/hidden-basic-auth/{user}/{passwd}
Try It!
Path Parameters
user
passwd
Query Parameters
Headers
Body
Shell
200
Status codes
Generates responses with given status code
Return status code or random status code if more than one are given
delete
https://httpbin.org
/status/{codes}
Path Parameters
codes
string
required
Response
100
Informational responses
delete
/status/{codes}
Try It!
Path Parameters
codes
Query Parameters
Headers
Body
Shell
100
Return status code or random status code if more than one are given
get
https://httpbin.org
/status/{codes}
Path Parameters
codes
string
required
Response
100
Informational responses
get
/status/{codes}
Try It!
Path Parameters
codes
Query Parameters
Headers
Body
Shell
100
Return status code or random status code if more than one are given
patch
https://httpbin.org
/status/{codes}
Path Parameters
codes
string
required
Response
100
Informational responses
patch
/status/{codes}
Try It!
Path Parameters
codes
Query Parameters
Headers
Body
Shell
100