Posting xml without using curl

How can you post XML data without using curl. I know it probably has
something to do with Net::HTTP, but Im sure you have to do something a
bit different.

The reason I cant use curl is because there seems to be a limit to how
large a commandline command can be and when posting very large xml
strings, it seems to throw errors.

On 12/17/07, Aryk G. [email protected] wrote:

How can you post XML data without using curl. I know it probably has
something to do with Net::HTTP, but Im sure you have to do something a
bit different.

The reason I cant use curl is because there seems to be a limit to how
large a commandline command can be and when posting very large xml
strings, it seems to throw errors.

net/http:
http://ruby-doc.org/stdlib/libdoc/net/http/rdoc/index.html

curb: # ruby bindings for curl
http://curl.haxx.se/libcurl/ruby/


Rick O.
http://lighthouseapp.com
http://weblog.techno-weenie.net
http://mephistoblog.com