How to send http requests through a web proxy programmatically

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ashsa
    New Member
    • Feb 2007
    • 45

    How to send http requests through a web proxy programmatically

    Hi,

    Could someone please illustrate how to send and receive HTTP requests programmaticall y through any HTTP proxy.

    Say if I have the ip address and the port number of a proxy(201.30.47 .218:3128) and I want to programmaticall y hit a site(www.google .com) through the proxy, what should be the URL my program use to hit google through this proxy?

    I came across this javascript based adobe AIR application "Market Samurai" that accepts from the user, ip and port of a web proxy and routes all its google search requests through this proxy. I want a similar functionality in one of the application I am developing but do not know how to dynamically accept proxy details and send http requests through them. Please advise.

    Many Thanks in advance.
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    I don't think this is a JavaScript problem, though part of the eventual functionality may use JavaScript. You will need to use some server-side language for this as far as I can tell, at least with the default security settings.

    Comment

    Working...