cURL / Mailing Lists / curl-users / Single Mail

curl-users

Help

From: Gary Woodley <gary_at_plsoft.co.uk>
Date: Fri, 5 Mar 2010 15:31:39 -0000

Hi,

 

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:-

 

url = "http://edoc.codegate.co.uk:9640/edocapi/rest/submitwastetransfernote"

upload-file= eDocAPI.xml

output = "curlresponse.txt"

 

and am using the command:-

WaitRun("curl -K APICONFIG.TXT",SW_HIDE)

 

Am I using cURL correctly? I am not getting a response so am not sure if my
code is correct or the system I am communicating with is functioning
correctly.

 

Thanks

 

Gary

 

-------------------------------------------------------------------
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-05