Personal tools

Curl

From MohidWiki

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