Use Guide

GoalCommand
Debug requestcurl -v
Check statuscurl -I
API call 🔥curl -X + -d + -H
Follow redirectcurl -L
Save filecurl -o file.html https://example.com
Ignore SSL ⚠️curl -k

1️⃣ Basic Request

curl https://example.com
  • Fetch full response body


2️⃣ Headers Only 📌

curl -I https://example.com
  • Check status code + headers


3️⃣ Follow Redirects

curl -L https://example.com
  • Handles 301/302 redirects

4️⃣ Custom HTTP Method

curl -X POST https://example.com/api
  • Supports GET, POST, PUT, DELETE

5️⃣ Send Form Data

curl -X POST https://example.com/api \
  -d "name=omi&age=25"

6️⃣ JSON API Call

curl -X POST https://example.com/api \
  -H "Content-Type: application/json" \
  -d '{"name":"omi"}'

7️⃣ Add Headers

curl -H "Authorization: Bearer token" \
     -H "Accept: application/json" \
     https://example.com

8️⃣ Ignore SSL

curl -k https://example.com
  • Skip SSL verification (debug only)

🔥 Most Useful Combo

curl -v -L https://example.com