scootiePuff wrote: > (was Re: constructing an (xml) request properly for http post to an > api) > > > is there currently a (simple) way to convert the Net::HTTPOK object > into a format (string) useable by REXML::Document, and if so, what > might that be/what would you suggest? Didn't see this ever answered, so for posterity's sake - Assuming that resp is Net::HTTPOK object: doc = Document.new(resp.read_body) doc.write( $stdout, 0 ) -- Posted via http://www.ruby-forum.com/.