cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: https post problem

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Fri, 12 Aug 2005 23:14:40 +0200 (CEST)

On Fri, 12 Aug 2005, Clayton, Richard wrote:

> NOT WORKING FROM Windows 2003

...

> 0000: GET /acompany2/HTTPFileReceive.asp?LoginID=username&Pass=password

> curl --data-binary "@D:\filename" --header "CONTENT-TYPE: text/xml" -k
> "https://www.a-companyy.co.uk/HTTPFileReceive.asp?LoginID=username&Pass=password"
> --trace-ascii trace.txt

If the file name you pass to --data-binary isn't possible to open, curl will
in fact turn the request into a GET... (this is a bug)

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2005-08-12