httpbin
Challenges HTTPBasic Auth.
get
Path Parameters
userstringrequired
Username. Use the same username in the path AND for authorization.
passwordstringrequired
Password. Use the same password in the path AND for authorization.
Response
application/json
Response
application/json
OK
authenticatedboolean
Example:true
userstring
The user name specified in the request.
get/basic-auth/{user}/{password}
Authentication
Path Parameters
application/json
Hidden Basic authentication
Returns 404 Not Found unless the request is authenticated.
get
Path Parameters
userstringrequired
Username. Use the same username in the path AND for authorization.
passwordstringrequired
Password. Use the same password in the path AND for authorization.
Response
application/json
Response
application/json
OK
authenticatedboolean
Example:true
userstring
The user name specified in the request.
get/hidden-basic-auth/{user}/{password}
Authentication
Path Parameters
application/json
Tests Bearer authentication
get
Response
application/json
Response
application/json
Authorized
authenticatedboolean
Example:true
tokenstring
Bearer token specified in the request
get/bearer
Authentication
application/json
HTTP methods
Operations for testing different HTTP methods
Returns the GET request's data. Accepts any query parameters and any headers.
get
Query Parameters
freeformobject
Enter free-form query parameters in the JSON format { "param1": "value1", "param2": "value2", ... }.
Note that the parameters will be actually sent as ?param1=value1¶m2=value2&...
* Additional properties are allowed.
Response
200 application/json
Response
200 application/json
OK
object
get/get
Query Parameters
200 application/json