Headers Inspector
The /headers endpoint returns the HTTP headers sent by the client. It is useful for debugging proxies, CORS configurations, and request pipelines. Sensitive headers are automatically redacted.
Use Cases
Inspect what headers your client sends to the server, debug reverse proxy configurations, verify CORS headers, or check if authentication headers are being forwarded correctly.
curl -X GET \ "https://api.moxon.dev/v4/headers"Send the request to see the response here.
filterstringoptionalComma-separated list of header names to return. Returns all headers if omitted.
The following headers are always returned as [redacted] to prevent sensitive data exposure:
| Header |
|---|
authorization |
cookie |
set-cookie |
proxy-authorization |
countnumberNumber of headers returned
headersobjectKey-value map of request headers (sensitive ones redacted)
ipstringClient IP address
methodstringHTTP method of the request
urlstringFull request URL
Note
This endpoint does not throw errors for invalid filter names — unknown names simply return no matching headers.
Last updated on May 11, 2026