/{method}
Returns request info for the specified HTTP method. Returns 405 if the request method does not match the path./get /post /put /patch /delete
/anything
Returns JSON containing the parsed details of the request, including method, url, headers, args, data, files, form, and origin./anything/subpath
/delay/{seconds}
Delays the response by the specified number of seconds (max 10). Can be chained with other endpoints./delay/1 /delay/5 /delay/2/status/200
/echo
Echoes back the raw HTTP request data. For HTTP/2, returns parsed frame data as JSON lines.
/headers
Returns the request headers as JSON.
/ip
Returns the client's IP address.
/status/{code}
Returns a response with the specified HTTP status code./status/200 /status/404 /status/500
/tls/fingerprint
Returns the TLS fingerprint (JA3 and JA4) of the client connection. Requires HTTPS.
/trailers
Tests HTTP trailers. Returns any received trailers and sends trailers back if the client indicated support via the TE header.
/user-agent
Returns the User-Agent header from the request.
/version
Returns the server version hash as JSON.
Authentication (1)
/basic-auth/{username}/{password}
Challenges with HTTP Basic Auth, expecting the username & password from the URL. Returns 200 with user info on success, 401 if unauthenticated, 403 if wrong credentials./basic-auth/admin/secret
Cookies (3)
/cookies
Returns the cookies sent with the request.
/cookies/delete
Deletes cookies specified in query parameters, then redirects to /cookies./cookies/delete?name
/cookies/set
Sets cookies via query parameters or path segments, then redirects to /cookies./cookies/set?name=value /cookies/set/name/value
Errors (2)
/error/close
Immediately closes the connection without sending a response.
/error/reset
Resets the connection (sends a TCP RST) without sending a response.
Response Content Encodings (5)
/encoding/brotli
Returns brotli-encoded JSON data.
/encoding/deflate
Returns deflate-encoded JSON data.
/encoding/gzip
Returns gzip-encoded JSON data.
/encoding/identity
Returns uncompressed JSON data with content-encoding: identity.
/encoding/zstd
Returns zstd-encoded JSON data.
Response Content Formats (4)
/json
Returns a sample JSON document.
/robots.txt
Returns a robots.txt file that disallows crawling of all paths except the root.
/xml
Returns a sample XML document.
example
Returns a copy of the example.com HTML page. Access via the example subdomain prefix.https://example.testserver.host/