Revision: 9720
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at November 18, 2008 19:11 by eugegim
Initial Code
require 'net/http' require 'uri' url = URI.parse('http://www.example.com/index.html') res = Net::HTTP.start(url.host, url.port) do |http| http.get('/index.html') end puts res.body
Initial URL
Initial Description
Initial Title
Ruby GET Request
Initial Tags
textmate, ruby, Net
Initial Language
Other