摘要: post请求:url = URI("http://www.aaa.com/ccc/ddd/vvv") current_sig = Digest::SHA1.hexdigest "#{URI.escape("/user/info")}&#{URI.escape("fopenid=#{fopenid}&oauth_version=2.a&scope=all")}&#{SNS["appsecret"]}" http = Net::HTTP.new(url.host, & 阅读全文
posted @ 2013-08-23 12:20 小狸的窝 阅读(790) 评论(0) 推荐(0)