the html


			

the ruby code


			
require 'net/http'

response = Net::HTTP.post_form(URI.parse('http://www.mycompany.com/?page=login'),
                              {'username'=>'foo','password'=>'bar'})