ASP get redirect URL

T

tgh003

Here is what I need to do to interface with a freight company:

I pass a url w/ query parameters using MSXML2 like so:
------
Set http = Server.CreateObject("MSXML2.XMLHTTP")
http.Open "GET",
"http://www.freight.com?originzip=45177&destzip=34482weight=100",
false, "", ""
http.Send strRequest
------

The "freight.com" server would then redirect you back to a url such as:
http://www.mysite.com/freightresponse.asp?cost=$50.00

I do not want to do this via regular redirect, rather do this server
side so i parse the response string.

What is the syntax or proper way to get this redirect url? The
redirect is happening on the freight.com server which i have no control
over.

Any help is appreciated - thx.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,143
Messages
2,570,822
Members
47,368
Latest member
michaelsmithh

Latest Threads

Top