title: trying to POST with ruby mechanize
body: <p>I've captured the login HTTP headers using firefox plugin LiveHTTPheaders.</p>
  
  <p>I've found the following url and variables.</p>
  
  <pre><code>POST /login
  email=myemail%40gmail.com&amp;password=something&amp;remember=1&amp;loginSubmit=Login
  </code></pre>
  
  <p>And here's the code I am running:</p>
  
  <pre><code>require 'rubygems'
  require 'mechanize'
  
  
  browser = Mechanize.new
  browser.post('http://www.mysite.com/login',
  [
  ["email","myemail%40gmail.com"],
  ["password","something"],
  ["remember","1"],
  ["loginSubmit","Login"],
  ["url"=&gt;""]
  ]
  ) do |page|
  puts page.body
  end
  </code></pre>
  
  <p>However, this gives me nothing ! is something wrong with my post parameters ?</p>