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'})
|
Pastie
Support Pastie
or read my
Pastie << self
blog
require 'net/http'
response = Net::HTTP.post_form(URI.parse('http://www.mycompany.com/?page=login'),
{'username'=>'foo','password'=>'bar'})
|