Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (9 sloc) 621 Bytes
Command line internet/network loader tool and ajax test tool. Read the contents of a URL, dump the results to the stdout. Basic USE:
curl [options] [URL...]
To see if a site is alive, just get the headers: curl --head
A live response returns status, cookies, content length, etc.
To send custom headers (anything you want!) use: curl --header "User-Agent: something-special"
To return the entire page: curl
The view the man page: curl --manual | less
To retrieve data with POST: curl -d "name=dpw"
Related programs: wget