Skip to content
moxon home

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.

gethttps://api.moxon.dev/v6/headers

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.

Try itget/v6/headers

Parameters

  • filterstringoptional

    Comma-separated list of header names to return. Returns all headers if omitted.

Redacted Headers

The following headers are always returned as [redacted] to prevent sensitive data exposure:

Header
authorization
cookie
set-cookie
proxy-authorization

Response Fields

  • countnumber

    Number of headers returned

  • headersobject

    Key-value map of request headers (sensitive ones redacted)

  • ipstring

    Client IP address

  • methodstring

    HTTP method of the request

  • urlstring

    Full request URL

Code Examples

Note

This endpoint does not throw errors for invalid filter names — unknown names simply return no matching headers.