Free Online cURL Builder, Parser & HTTP Tester
cURL is the universal command-line tool for transferring data with URLs β used every day by developers to test APIs, inspect HTTP headers, download files, and debug network requests.
Common cURL Use Cases
curl https://api.example.com/dataβ fetch data from an APIcurl -X POST -H "Content-Type: application/json" -d '{"key":"val"}' URLβ POST JSON datacurl -H "Authorization: Bearer TOKEN" URLβ authenticated requestcurl -v URLβ verbose mode, see all request/response headerscurl -I URLβ fetch only HTTP headers (HEAD request)curl -L URLβ follow HTTP redirectscurl -k URLβ skip SSL certificate verificationcurl -o file.zip URLβ download file to disk
Key cURL Flags Reference
| Flag | Long form | Description |
|---|---|---|
-X | --request | HTTP method (GET, POST, PUTβ¦) |
-H | --header | Add a request header |
-d | --data | Request body / POST data |
-u | --user | Basic authentication (user:pass) |
-L | --location | Follow redirects |
-k | --insecure | Skip SSL certificate verification |
-v | --verbose | Show full request/response headers |
-s | --silent | Suppress progress output |
-o | --output | Write output to a file |
-I | --head | Fetch headers only (HEAD request) |