Curl is a command-line tool and library for transferring data using various network protocols. It supports HTTP, HTTPS, FTP, FTPS, SCP, SFTP, TFTP, DICT, LDAP, LDAPS, FILE, Telnet, and more. This documentation provides an overview of curl's features and usage.

Features

  • HTTP/2 Support: curl supports the HTTP/2 protocol, which provides improved performance and efficiency.
  • HTTPS Authentication: curl supports various authentication methods for secure HTTPS connections.
  • Progress Meter: curl can display a progress meter to show the transfer progress.
  • SSL/TLS Verification: curl can verify the SSL/TLS certificates of HTTPS connections.

Usage

To use curl, you can run the command with the desired options. Here's an example of using curl to fetch a webpage:

curl -o output.html https://example.com

This command fetches the webpage from https://example.com and saves the response to a file named output.html.

Resources

curl