Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
The results are in! See what nearly 90,000 developers picked as their most loved, dreaded, and desired coding languages and more in the 2019 Developer Survey.

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
  • HTTPS
  • IMAP
  • LDAP
  • LDAPS
  • 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