By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,538 Members | 2,225 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,538 IT Pros & Developers. It's quick & easy.

How to send http requests through a web proxy programmatically

ashsa
P: 45
Hi,

Could someone please illustrate how to send and receive HTTP requests programmatically 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 programmatically 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.
Jul 2 '10 #1
Share this Question
Share on Google+
1 Reply


acoder
Expert Mod 15k+
P: 16,027
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.
Jul 8 '10 #2

Post your reply

Sign in to post your reply or Sign up for a free account.