lookup> TRACE

TRACE

Echoes back the received request so the client can see what proxies changed along the path. Disabled on most production servers for security.

safeidempotentnot cacheableRFC7231#4.3.8
PropertyValue
Safe (does not modify state)Yes
Idempotent (repeatable)Yes
CacheableNo

Echoes back the received request so the client can see what proxies changed along the path. Disabled on most production servers for security.

curl -X TRACE -i https://api.example.com/users/1
TRACE /api/users/1 HTTP/1.1
Host: example.com
TRACEGET
Echo the request path for diagnosticsReturn a representation
Diagnostic use onlyGeneral use

Is the TRACE method safe?

TRACE is a safe method — it does not change resource state on the server.

What happens if I send TRACE repeatedly?

TRACE is idempotent — repeated requests have the same effect as a single request.

All HTTP methods

Related status codes