This page looks plain and unstyled because you're using a non-standard compliant browser. To see it in its best form, please upgrade to a browser that supports web standards. It's free and painless.

Paul's Time Sink

| Main | Albums |

« | »

HTTP POST with curl

Paul Westbrook | 29 June, 2005 08:52

I keep forgetting how to perform a HTTP POST with curl, so I want to write this down so I don't forget.

Posting a string:

curl -d "String to post" "http://www.domain.com/file.php"

Posting the contents of a file

curl -d @file_to_post.txt "http://www.domain.com/file.php"

thanks [Reply]

thanks for the cron code

MMORPG Forums - Runescape World of Warcraft | 08/11/2008, 00:37

thanks [Reply]

thanks for posting.. exactly what I was looking for :)

ch | 22/11/2008, 13:19

Add comment

Topic

Text

Your name

Your email address

Your personal page (if any)




Powered by LifeType
Design by Book of Styles