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

How to send http requests through a web proxy programmatically

P: 45

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( and I want to programmatically hit a site( 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

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.