/
HT
httpbin
/
httpbin.org
Search skmtc…
⌘K
Docs
Sign in
Sign in
APIs
Generators
Stacks
Projects
Docs
History
Schema
Sources
Checked 2w ago · Updated 3w ago
View markdown
httpbin
httpbin.org
get
Sets a Cache-Control header for n seconds.
v1
latest
Swagger 2.0
2026-07-21
78
0
40.1 KB
Anything
12
Auth
6
Cookies
4
Dynamic data
14
HTTP Methods
5
Images
5
Redirects
9
Request inspection
3
Response formats
9
Response inspection
5
get
Returns a 304 if an If-Modified-Since header or If-None-Match is present. Returns the same as a GET otherwise.
get
Sets a Cache-Control header for n seconds.
get
Assumes the resource has the given etag and responds to If-None-Match and If-Match headers appropriately.
get
Returns a set of response headers from the query string.
post
Returns a set of response headers from the query string.
Status codes
6
Response inspection
Sets a Cache-Control header for n seconds.
get
/cache/{value}
Path parameters
value
integer
required
Response
Cache control set