Personal tools

Curl

From MohidWiki

Revision as of 20:41, 9 January 2008 by 192.168.20.177 (talk)
(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