Ruby 使用 Net::HTTP 一例 2015/04/12 13365 require 'net/http' home = Net::HTTP.new("www.oschina.net", 80) response, text = home.get("/code/list", nil) puts text