curl
Basic Usage
# Simple GET request
curl http://TARGET
# Download file
curl -O http://TARGET/file.txt
# Download with custom name
curl -o output.txt http://TARGET/file.txt
# Silent mode (no progress)
curl -s http://TARGET
# Follow redirects
curl -L http://TARGETViewing Headers & Verbose
Request Methods
POST Data
Form Data (application/x-www-form-urlencoded)
JSON Data
File Upload
Headers
Authentication
Basic Auth
Bearer Token
Cookie
SSL/TLS
Proxy
Output Control
Useful Options
Flag
Description
HTTP Methods Reference
Method
Description
Status Codes Quick Reference
Code
Meaning
Common Pentest Commands
CRUD API Example
URL Structure Reference
Component
Example
Notes
Last updated