curl-users
RE: special method for posting
From: Roth, Kevin P. <KPRoth_at_MarathonOil.com>
Date: Fri, 1 Feb 2002 14:59:56 -0500
Date: Fri, 1 Feb 2002 14:59:56 -0500
how about
curl http://servername.domain.com/authorize -0 ...
--Kevin
-----Original Message-----
From: doug Kellogg [mailto:dak_at_mind.net]
Sent: Friday, February 01, 2002 2:38 PM
To: curl_at_contactor.se
Subject: special method for posting
Normally curl uses (with the -0 switch) a "POST / HTTP/1.0" when sending
a
file to a URL. I'm sending a file to a special site that requires "POST
/authorize HTTP/1.0". Is there anyway of getting curl to send this?
I've
tried using the -H to send special headers (which does nothing) and the
-X,
which only gives an error message.
Thanks,
Doug
Received on 2002-02-01