I am trying to post data to a html form, I tried doing as described in http://www.ruby-doc.org/stdlib/libdo.../Net/HTTP.html. If I try Net::HTTP.post_form(URI.parse('http://jackass@www.example.com/todo.cgi'),
{'from'=>'2005-01-01', 'to'=>'2005-03-31'}), it says undefined method post_form. I also get undefined method errors for the other methods described on that page. I have included require 'net/http' and require 'uri', and some of the ofther stuff works. Does anyone know how to do this? Is there another way of posting data to a html form?