CONNECT & TRACE in HTTP

From the HTTP Methods cheat sheet · Other HTTP Methods · verified Jul 2026

CONNECT & TRACE

javascript
// CONNECT - Establish tunnel
CONNECT server.example.com:443 HTTP/1.1

// TRACE - Echo request
TRACE /api/test HTTP/1.1

// Properties
CONNECT: Proxy tunneling
TRACE: Debugging (usually disabled)
🚇 CONNECT: For proxy tunneling
🔍 TRACE: Debugging (security risk)
⚠️ Usually disabled in production

More HTTP tasks

Back to the full HTTP Methods cheat sheet