CURL Command Generator - Help
Getting Started
This tool helps you build CURL commands visually without needing to remember all the flags and options.
Basic Usage
- Select HTTP Method: Choose GET, POST, PUT, DELETE, or PATCH from the method buttons
- Enter URL: Input the target URL you want to request
- Add Headers: Click "Add Header" to include custom headers
- Request Body: For POST/PUT requests, add your JSON or form data
Authentication
- Basic Auth: Enter username and password for basic authentication
- Bearer Token: Provide your JWT or API token
- Digest Auth: Use digest authentication with credentials
Advanced Features
- Cookies: Add cookies directly or specify a cookie file
- File Upload: Add files for multipart/form-data uploads
- Proxy: Configure proxy settings for requests
- Timeout: Set request timeout in seconds
- Verbose Mode: Enable detailed output for debugging
- Follow Redirects: Automatically follow HTTP redirects
- Compressed: Request compressed responses
- Insecure: Skip SSL certificate verification (use with caution)
- Custom Options: Add any additional CURL flags
Actions
- Copy to Clipboard: Copy the generated command
- Test Command: Execute the command (browser simulation)
- Import from CURL: Parse an existing CURL command
- Export as Code: Export in various programming languages
- Command History: View and reuse previous commands
API Integration
Use the API Integration buttons to generate commands compatible with popular API tools like Postman, Insomnia, Swagger, and OpenAPI.
Tips
- The command updates automatically as you make changes
- History is saved locally in your browser
- Use the collapsible sections to organize your workspace
- Click on history items to reload them