Thanks all, does that mean if I POST
<customer>apple</customer>
<product>ipad</product>
in the HTTP Client then I can read it in my cgi as:
#!/usr/bin/ruby
require 'cgi'
cgi = CGI.new
h = cgi.params # => {"customer"=>["apple"],"product"=>["ipad"]}
h['customer'] # => ["apple"]
h['product'] # => ["ipad"]
Thanks!
--
Posted via http://www.ruby-forum.com/.