curl-users
Re: Newbie Help Needed - Posting XML File to URL
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Wed, 8 Sep 2004 18:59:57 +0200 (CEST)
Date: Wed, 8 Sep 2004 18:59:57 +0200 (CEST)
On Wed, 8 Sep 2004, Piskulic, Kristin wrote:
> Help, I'm not sure what to try next.  Currently, I am manually posting an 
> XML file to a URL with the following contained within the XML file:
Edit this HTML page and make it use a "GET" method instead of POST. Then 
submit the form. Watch how the URL field of your browser now contains exactly 
the data you want to post.
> So, I've tried the following in command line CURL from a UNIX-Sun box:
>
> 	curl -v -o test.bat -F
-F is wrong. The form sets up a normal and plain POST. Use -d and the data 
you get by the trick from above!
-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-09-08