cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Help

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 6 Mar 2010 17:19:09 +0100 (CET)

On Fri, 5 Mar 2010, Gary Woodley wrote:

> I am trying to post an XML file (eDocAPI.xml) to a url of
> 'http://edoc.codegate.co.uk:9640/edocapi/rest/submitwastetransfernote' then
> read the xml data I get in response to a file curlresponse.txt. I have a
> APICONFIG.txt file containing:-

...

> upload-file= eDocAPI.xml

This will make a PUT. You probably want the --data-binary option.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-03-06