🔧 Curl Builder
Interactive Curl command builder for HTTP requests with support for headers, authentication, and various request methods.
🌐 Request Configuration
📋 Generated Curl Command
📝 Request Templates
📚 Curl Examples
Basic Examples:
GET Request:
curl https://api.example.com/users
POST with JSON:
curl -X POST https://api.example.com/users \
-H "Content-Type: application/json" \
-d '{"name": "John", "email": "john@example.com"}'
Authentication:
curl -H "Authorization: Bearer YOUR_TOKEN" \
https://api.example.com/protected
File Upload:
curl -X POST https://api.example.com/upload \
-F "file=@document.pdf" \
-F "description=Important document"
Custom Headers:
curl -H "X-API-Key: your-api-key" \
-H "Accept: application/json" \
https://api.example.com/data
Form Data:
curl -X POST https://api.example.com/form \
-d "username=john" \
-d "password=secret"
Download File:
curl -O https://example.com/file.zip
Save Response:
curl https://api.example.com/data > response.json
Follow Redirects:
curl -L https://short.url/redirect
Verbose Output:
curl -v https://api.example.com/debug
Ignore SSL Errors:
curl -k https://self-signed.example.com
Set Timeout:
curl --connect-timeout 10 --max-time 30 \
https://slow.example.com
Multiple URLs:
curl https://api1.example.com https://api2.example.com
Cookie Handling:
curl -c cookies.txt -b cookies.txt \
https://example.com/login
Proxy Usage:
curl --proxy http://proxy:8080 \
https://api.example.com
Rate Limiting:
curl --limit-rate 100k \
https://example.com/largefile
HTTP/2:
curl --http2 https://http2.example.com
🔧 Curl Options Reference
Common Options:
Request Methods:
-X, --request METHOD Specify request method (GET, POST, etc.)
Headers:
-H, --header HEADER Add custom header
-A, --user-agent AGENT Set user agent string
Authentication:
-u, --user USER:PASS Basic authentication
--oauth2-bearer TOKEN OAuth 2.0 Bearer token
Data:
-d, --data DATA Send POST data
-F, --form FORM Send multipart form data
--data-binary @FILE Send binary data from file
--data-urlencode DATA URL encode data
Output:
-o, --output FILE Write output to file
-O, --remote-name Use remote filename
-i, --include Include response headers
-I, --head HEAD request only
-s, --silent Silent mode
-v, --verbose Verbose output
Connection:
-L, --location Follow redirects
-k, --insecure Allow insecure SSL
--connect-timeout SEC Connection timeout
--max-time SEC Maximum time for operation
--retry NUM Retry on failure
Cookies:
-c, --cookie-jar FILE Save cookies to file
-b, --cookie DATA Send cookies
Proxy:
--proxy HOST:PORT Use proxy server
--proxy-user USER:PASS Proxy authentication
Advanced:
--compressed Request compressed response
--http2 Use HTTP/2
--limit-rate RATE Limit transfer rate
--resolve HOST:PORT:IP Resolve host to IP
💰 Support Development
This toolkit is 100% free. If it helped you, consider donating in USDT to support future development.
USDT (TRC20):
TACpbL6iRczHYzE4sJCKfHB3Npw8NoQv37
TACpbL6iRczHYzE4sJCKfHB3Npw8NoQv37
