cURL is a CLI tool for issuing HTTP GET, POST, & PUT request.

A formal applications for , cURL was originally developed Daniel Stenberg, and released in 1997. cURL primary function is to transfer data across an array of modern protocols, and has widely been incorporated in programming languages.

Supported Protocols

  • DICT
  • FTP
  • FTPS
  • Gopher
  • HTTP
  • IMAP
  • LDAP
  • POP3
  • RTSP
  • SCP
  • SFTP
  • SMTP
  • TFTP
  • Telnet
  • URI scheme

Basic usage

Retrive a page to

curl http://www.example.org

Write output to file

curl -o index.html http://www.example.org

Post data to a form

curl --data "fruit=apples&meat=ham" http://www.example.org/menu.html

Basic installation

Grab source from any public FTP distributor

shell> ftp ftp://ftp.sunet.se/
ftp>   cd pub/www/utilities/curl/
ftp>   get curl-7.27.0.tar.gz
shell> quit

Basic install methods

shell> ./configure --prefix=/usr
shell> make
shell> make test
shell> make install
history | excerpt history