Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
5 lines (4 sloc) 148 Bytes
# You don't have to use URI.parse
require "net/http"
http = Net::HTTP.new("google.com", 80)
response = http.request(Net::HTTP::Get.new("/foo/bar"))
Something went wrong with that request. Please try again.