httpbin

Returns the user agent.

get

Response

200 application/json

OK

user-agentstringrequired

Example:curl/7.37.0

get/user-agent
 
200 application/json

Returns the request headers.

get

Response

200 application/json

OK

headersobjectrequired
get/headers
 
200 application/json

Delays responding for min(n, 10) seconds.

get

Path Parameters

nintegerrequired

Response delay, in seconds.

>= 0<= 10

Response

200 application/json

OK

get/delay/{n}
 
200 application/json

Returns some XML.

get

Response

200 application/xml

OK

get/xml
 
200 application/xml

Returns an HTML page

get

Response

200 text/html

OK

get/html
 
200 text/html