From: botp Date: 2010-11-12T23:48:09+09:00 Subject: Re: Parsing XML with Ruby On Fri, Nov 12, 2010 at 10:23 PM, jackster the jackle wrote: > Am I proceeding down the right path with the authentication? yes. just input the command a line at a time... redo back if you get confused... eg, require 'net/http' #=> true uri = URI.parse("https://www.chase.com/") #=> # http = Net::HTTP.new(uri.host, uri.port) #=> # http.use_ssl = true #=> true http.verify_mode = OpenSSL::SSL::VERIFY_NONE #=> 0 request = Net::HTTP::Get.new(uri.request_uri) #=> # request.basic_auth("username", "password") #=> ["Basic dXNlcm5hbWU6cGFzc3dvcmQ="] response = http.request request #=> # response.body #=> "\nCHASE Home: Personal Banking | Personal Lending | Retirement & Investing | Business Banking.... hth. kind regards -botp