POST-ing a File as a Body of HTTP Request
Status: Alpha
Brought to you by:
coroberti
From: Robert I. <cor...@gm...> - 2009-04-12 18:42:01
|
Gentlemen, Several folks, namely Matt, Huy, Alex, and may be more, have been asking for a way in curl-loader to post an XML-file as a body of POST request. In meanwhile, it was recommended a work-around proposed by Alex. You may wish to try the recent fix for doing that now in svn. Please, checkout it by: svn co https://curl-loader.svn.sourceforge.net/svnroot/curl-loadercurl-loader cd to curl-loader/trunk/curl-loader and make it as usual by make. An example of configuration file is conf-examples/post-xml.conf, where the XML-file itself is residing in the same configuration directory, namely conf-examples/some.xml The majic is now done by: REQUEST_TYPE=POST MULTIPART_FORM_DATA="file=@some.xml" Your inputs will be very much appreciated. -- Truly, Robert Iakobashvili, Ph.D. ...................................................................... www.ghotit.com Assistive technology that understands you ...................................................................... |