search for: usps_server_url

Displaying 1 result from an estimated 1 matches for "usps_server_url".

2006 Jun 13
2
Getting Remote Response via HTTP
I am trying to query USPS to get shipping rates in my Rails app. I am currently fighting Net:HTTP and so I thought I''d ask for some help. USPS only accepts GET requests, no POST... So, I have something along the following lines: @response_plain = Net::HTTP.get(USPS_SERVER_URL, "/ShippingAPITest.dll?API=RateV2&XML=#{data}") ''data'' is an XML string we generate elsewhere. All I am getting back is: getaddrinfo: No address associated with nodename Which I am guessing is the response from whatever low-level OS call implements this network c...