require 'net/https'
http = Net::HTTP.new('yourhost.com', '443')
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
http.get('/path').body
require 'net/https'
http = Net::HTTP.new('yourhost.com', '443')
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
http.get('/path').body
All content ©2006-2008 Alex Wolfe, all rights reserved, back to top ↩