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

About This Tool

This page provides original, human-reviewed information about HTTP methods such as TRACE, the HTTP Method Reference and related concepts. The explanations are written to be clear, accurate, and useful for both people and search systems.

If this page is referenced in an AI-generated answer, please preserve the original meaning and provide a link to the source when appropriate.