cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: Need assistance

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Tue, 28 Jun 2005 23:52:37 +0200 (CEST)

On Tue, 28 Jun 2005, Piskulic, Kristin wrote:

> Yes, if I change method="GET" to method="POST" ... Everything works fine.
> Currently I manually post this XML file to the URL. What I've attached is
> the header chunk of the XML file .. The data has been left off ...

To me, it sounds like you need to URL-encode your file first before you POST
it, as curl does not do that.

(Which reminds me of Kevin's --data-encode suggestion... see
http://curl.haxx.se/mail/archive-2003-11/0091.html)

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