curl
1. Introduction
Section titled “1. Introduction”Designed to work without user interaction, curl is a tool for transferring data from or to a server. It supports these protocols:
DICT(Dictionary network | Port 2628)FILEFTP(Data transfer | Port 20, 21)FTPS,GOPHER,GOPHERS,HTTP,HTTPS,IMAP,IMAPS,LDAP,LDAPS,MQTT,POP3,POP3S,RTMP,RTMPS,RTSPSCP,SFTP,SMB,SMBS,SMTP,SMTPS,TELNETTFTP
curl offers a busload of useful tricks like proxy support, user authentication, FTP upload, HTTP post, SSL connections, cookies, file transfer resume and more. As you will see below, the number of features will make your head spin.
curl google.com -IHTTP/1.1 301 Moved PermanentlyLocation: http://www.google.com/Content-Type: text/html; charset=UTF-8Content-Security-Policy-Report-Only: object-src 'none';base-uri 'self';script-src 'nonce-qYdV_FPHpEBv6vYwKNQrVA' 'strict-dynamic' 'report-sample' 'unsafe-eval' 'unsafe-inline' https: http:;report-uri https://csp.withgoogle.com/csp/gws/other-hpDate: Thu, 04 Dec 2025 12:45:59 GMTExpires: Sat, 03 Jan 2026 12:45:59 GMTCache-Control: public, max-age=2592000Server: gwsContent-Length: 219X-XSS-Protection: 0X-Frame-Options: SAMEORIGIN