Personal tools

Curl

From MohidWiki

Revision as of 10:27, 3 December 2008 by Guillaume (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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