Ruby 使用 Net::HTTP 一例

2015-04-12 0 528
Ruby 使用 Net::HTTP 一例
require 'net/http'
home = Net::HTTP.new("www.oschina.net", 80)

response, text = home.get("/code/list", nil)
puts text

遇见资源网 ruby Ruby 使用 Net::HTTP 一例 http://www.ox520.com/16320.html

常见问题

相关文章

发表评论
暂无评论
官方客服团队

为您解决烦忧 - 24小时在线 专业服务