How do I make an HTTP GET
request with parameters in Ruby?
It's easy to do when you're POST
ing:
require 'net/http'
require 'uri'
HTTP.post_form URI.parse('http://www.example.com/search.cgi'),
{ "q" => "ruby", "max" => "50" }
But I see now way of passing GET
parameters as a hash using net/http.