/headers Request Header Viewer
The exact headers your client sent, echoed back — plus how the edge saw the request. This is your own request reflected, not a scan of a remote host. Credential headers are redacted.
Usage
With curl
With the CLI
Structured output for scripts
Output
Parameters
| Input | What it does |
|---|---|
-H "Name: value" | Add a header to see it echoed back — handy for testing what a client sends. |
Accept: application/json | Return the headers as a JSON object. |
Recipes
See what a proxy adds
Confirm the X-Forwarded-* and CF-* headers your proxy or CDN injects.
Prove a header is being sent
Credential values come back redacted — the header name is echoed, the secret is not.