From: Brian Candler Date: 2010-09-17T16:23:21+09:00 Subject: Re: HTTP client to post XML RAW_DATA to restful API Costa Nicolaou wrote: > Brian Candler wrote: >> Costa Nicolaou wrote: >>> Any suggestions? >> >> restclient can do this. Otherwise, just use Net::HTTP directly. > > Cheers for that > > Any examples? although the docs are quite good, it is not clear how to > send the XML string as RAW_DATA Which, restclient or Net::HTTP? Both take a string as an argument for the body data to post. A string is raw data. So I suggest you start by writing some code, preferably as a small standalone program. If it fails then you can show the code and the complete error message you see. -- Posted via http://www.ruby-forum.com/.