Skip to navigation
How to access a xml server over a proxy server?
07.12.13
require 'net/http' proxy_addr = 'proxy.com' proxy_port = 8080 r = Net::HTTP::Proxy(proxy_addr, proxy_port).get 'pixy.selfip.com', '/HotelAvailabilityListResults.xml' @foo = Hash.from_xml(r)
Reply
Anonymous
how to access a xml server over a proxy server?
require 'net/http' proxy_addr = 'proxy.com' proxy_port = 8080 r = Net::HTTP::Proxy(proxy_addr, proxy_port).get 'pixy.selfip.com', '/HotelAvailabilityListResults.xml' @foo = Hash.from_xml(r)
07.12.13
Reply
Anonymous
Information Epoch 1732383526
Data dominates.
Home
Notebook
Contact us