mrpink
10/7/2007 4:37:00 PM
Well I don't know this webservice so I can't test it totally but why do you make it such complicated? You don't have to assemble the http-header yourself... little example:
#!/usr/bin/env ruby
$Verbose=true
require 'net/http'
user_id = '32423423'
track_id = '5454545'
Net::HTTP.get_print 'testing.shippingapis.com', "/ShippingAPITest.dll?API=TrackV2&XML=%3CTrackFieldRequest%20USERID=%22#{user_id}%22%3E%3CTrackID%20ID=%22#{track_id}%22%3E%3C/TrackID%3E%3C/TrackFieldRequest%3E"
--
kazaam <kazaam@oleco.net>