Save Output to a File
Command:
|
|
What it does:
Saves the content of the webpage to a file named output.html.
Follow Redirects
|
|
What it does:
Follows any HTTP redirects and fetches the final destination page.
Show HTTP Headers
Command:
|
|
What it does:
Displays only the HTTP headers (e.g., status code, content type) of the requested page.
Download a File
Command:
|
|
What it does:
Downloads a file from the URL and saves it with the same name as on the server.
Send a GET Request with Parameters
Command:
|
|
What it does:
Sends a GET request with query parameters to the server.
Send Data with a POST Request
Command:
|
|
What it does:
Sends data using the POST method to an API or server.
Include Custom Headers
Command:
|
|
What it does:
Sends a request with a custom HTTP header, such as an API authorization token.
Send JSON Data
Command:
|
|
What it does:
Sends JSON-formatted data to an API endpoint using a POST request.
Test a Server’s Response Time
Command:
|
|
What it does:
Measures the total time taken to get a response from the server without saving the content.
Download a File with Authentication
Command:
|
|
What it does:
Downloads a file from a password-protected area by providing login credentials.
Upload a File
Command:
|
|
What it does:
Uploads a file to a server via an HTTP POST request.
Use Proxy
Command:
|
|
What it does:
Routes the request through a proxy server.
Limit Download Speed
Command:
|
|
What it does:
Limits the download speed to 100 KB/s.
Resume a Download
Command:
|
|
What it does:
Resumes an interrupted download of a file.
Perform FTP Operations
Command:
|
|
What it does:
Downloads a file from an FTP server using credentials.
Debug Requests
Command:
|
|
What it does:
Shows detailed information about the request and response, useful for debugging.
Use a Specific Protocol
Command:
|
|
What it does:
Forces the request to use HTTP/2 protocol.
Suppress Output
Command:
|
|
What it does:
Runs curl silently, suppressing progress and error messages.
Test Authentication
Command:
|
|
What it does:
Tests HTTP Basic Authentication by providing a username and password.
Send a DELETE Request
Command:
|
|
What it does:
Sends a DELETE request to remove a resource on the server.
Save Cookies
Command:
|
|
What it does:
Saves server-set cookies to a file.
Use Saved Cookies
Command:
|
|
What it does:
Uses the previously saved cookies for the request.
Use Multiple URLs
Command:
|
|
What it does:
Downloads multiple files in a single command.