# USE : parsed_url = URI.parse(url) http = Net::HTTP.new(parsed_url.host, parsed_url.port) http.use_ssl = true # With HTTParty : res = HTTParty.get(url, verify: false) ap res.body