HTTPBin

Assumes the resource has the given etag and responds to If-None-Match and If-Match headers appropriately.

get
https://httpbin.org/etag/{etag}

Path Parameters

etagstringrequired

Automatically added

Headers

If-None-Matchstring
If-Matchstring

Response

Normal response

get/etag/{etag}
 

Returns a set of response headers from the query string.

get
https://httpbin.org/response-headers

Query Parameters

freeformstring

Response

200

Response headers

get/response-headers
 
200

Returns a set of response headers from the query string.

post
https://httpbin.org/response-headers

Query Parameters

freeformstring

Response

200

Response headers

post/response-headers
 
200

Response formats

Returns responses in different data formats

Returns Brotli-encoded data.

get
https://httpbin.org/brotli

Response

200

Brotli-encoded data.

get/brotli
 
200