Personal tools

Difference between revisions of "Curl"

From MohidWiki

Jump to: navigation, search
 
m (1 revision)
 
(No difference)

Latest revision as of 11:27, 3 December 2008

Curl is similar to wget. It's supposed to be better too.

Example

This example sends a POST message to Twitter.

> curl --basic --user mohid1:***** --data status="Having fun with curl" http://twitter.com/statuses/update.xml

This example sends a GET message to brisa (make sure you get the url closed within ""):

> curl "http://www.brisa.pt/Brisa/vPT/Viajar+na+Rede/Transito+Online/?tipo=estrada&idae=1"

External References