httpbin
Returns the request headers.
get
Response
200 application/json
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
Response
200 application/json
OK
get/delay/{n}
Path Parameters
200 application/json
Returns some XML.
get
Response
200 application/xml
Response
200 application/xml
OK
get/xml
200 application/xml
Returns an HTML page
get
Response
200 text/html
Response
200 text/html
OK
get/html
200 text/html
Returns 200 unless an If-Modified-Since or If-None-Match header is provided, when it returns a 304.
get
Headers
If-Modified-Sincestring
For testing purposes this header accepts any value. (???) See also https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Modified-Since
Example:Wed, 21 Oct 2015 07:28:00 GMT
If-None-Matchstring
For testing purposes this header accepts any value. (???) See also https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-None-Match
Response
Response
Neigher If-Modified-Since nor If-None-Match header is provided
get/cache