Difference between revisions of "CURL"
Jump to navigation
Jump to search
↑ http://man7.org/linux/man-pages/man1/curl.1.html
(Created page with "{{lowercase title}} cURL is a command-line tool for getting or sending data including files using URL syntax. cURL supports a range of common network pr...") |
|||
Line 1: | Line 1: | ||
{{lowercase title}} | {{lowercase title}} | ||
− | [[w:CURL (software)|cURL]] is a command-line tool for getting or sending data including files using URL syntax. cURL supports a range of common network protocols, currently including HTTP, HTTPS, FTP, FTPS, SCP, SFTP, TFTP, LDAP, DAP, DICT, TELNET, FILE, IMAP, POP3, SMTP and RTSP. | + | [[w:CURL (software)|cURL]]<ref>http://man7.org/linux/man-pages/man1/curl.1.html</ref> is a command-line tool for getting or sending data including files using URL syntax. cURL supports a range of common network protocols, currently including HTTP, HTTPS, FTP, FTPS, SCP, SFTP, TFTP, LDAP, DAP, DICT, TELNET, FILE, IMAP, POP3, SMTP and RTSP. |
Revision as of 08:03, 16 December 2019
cURL[1] is a command-line tool for getting or sending data including files using URL syntax. cURL supports a range of common network protocols, currently including HTTP, HTTPS, FTP, FTPS, SCP, SFTP, TFTP, LDAP, DAP, DICT, TELNET, FILE, IMAP, POP3, SMTP and RTSP.
Basic Usage
curl -sS https://google.com
curl -u YOUR_USERNAME:YOUR_PASSWORD https://yourpasswordprotectedpage.com/
- Save your cookies and reuse them:
curl --user user:pass --cookie-jar ./somefile_with_your_cookies https://xyz.com/a
curl --cookie ./omefile_with_your_cookiese https://xyz.com/b
curl --header 'X-JFrog-Art-Api: 1234567890'
Advance usage
- Use cURL to measure request and response times: https://stackoverflow.com/a/22625150
See also
- Netcat
- wget:
wget -r http://example.com/
- iwr (Invoke-WebRequest) PowerShell functionality
- links (browser), lynx (browser), Elinks (browser) command line browsers
Advertising: