HEADER-ECHO.ADDR.TOOLS.

HTTP Headers
HEADER-ECHO.ADDR.TOOLS.

NAME

header-echo.addr.tools - view HTTP request headers, craft HTTP response headers

SYNOPSIS

$ curl -v -H 'Request-Header: foo' 'https://header-echo.addr.tools/?response-header=bar' < HTTP/2 200 < response-header: bar < GET /?response-header=bar HTTP/2.0 Host: header-echo.addr.tools User-Agent: curl/8.2.1 Accept: */* Request-Header: foo

DESCRIPTION

All HTTP and HTTPS requests sent to header-echo.addr.tools (and all subdomains) are answered by echoing the request headers to the response body.

Query string parameters from the request URL are used to generate response headers.

The special query string parameter, status-code, sets the HTTP response status code. This must be an integer from 100 to 599.

EXAMPLES

View your client's standard request headers:

header-echo.addr.tools

Generate a redirect:

header-echo.addr.tools/?status-code=302&location=https://example.com

Trigger a login prompt:

header-echo.addr.tools/?status-code=401&www-authenticate=Basic

SEE ALSO

addr.tools