Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
create dummy images
curl -L "http://dummyimage.com/600x400/000/fff&text=DummyImage%20[01-10]" -o image_#1.png
get page headers
curl --head http://google.com
send parameters to page
curl.exe -L -G "http://yoururl.com" --data-urlencode "text=DESIGN6 daily backup started"
send formdata & files to page
curl -F file=@test.jpg -F text="BINGO BONGO" "https://yoururl.com"
download a file
curl -L -O http:/test.exe
download facebook profile images
curl -L "https://graph.facebook.com/[1-100000000]/picture?width=160&height=160" -o "facebook_user_#1.jpg"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.