cURL HTTP and API Workflows/Send a TRACE request

Use TRACE for debugging if the server allows it.

Section: HTTP Methods and APIs

Send a TRACE request

bash
bash
curl -X TRACE -i https://example.com
Explanation

TRACE is often disabled for security reasons.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing HTTP Methods and APIs
GET JSON from an API
Fetch JSON and ask for a JSON response.
OpenIn sheetbashsame section
POST JSON
Create a resource by sending JSON payload.
OpenIn sheetbashsame section
PUT JSON
Replace a resource with a JSON request body.
OpenIn sheetbashsame section
PATCH JSON
Partially update a resource with JSON.
OpenIn sheetbashsame section
DELETE a resource
Delete a resource by ID.
OpenIn sheetbashsame section
Inspect allowed methods
Send an OPTIONS request to inspect server capabilities.
OpenIn sheetbashsame section