How can I make an HTTP request from WITHIN an ASP script
Posted on 2004-09-24
This may seem an odd thing to want to do, but it is possible to make an HTTP POST or GET to another web server from within an ASP script, then recieve & parse the result within ASP?
The actual requirement is to upload two files to a remote server via HTTP, then to download and parse (within the script) the file that is returned. The contents of this file will be used within the script to produce the final output to the client.
Does anyone know of any way this can be achieved? Ideally, with a code sample.
Thanks in advance