473,406 Members | 2,867 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

How to send http requests through a web proxy programmatically

ashsa
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
1 2528
acoder
16,027 Expert Mod 8TB
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

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

Similar topics

2
by: Fuzzyman | last post by:
Xavier Defrang has written an HTTP Debugging Proxy. This message is basically for him - since he says on his website that he inhabits this newsgroup. I downloaded this and ran it , with the...
1
by: Erik Johnson | last post by:
Hi, I am trying to spawn a daemon type program to go off on its own and do some work (asynchoronously) from within an HTTPServer, but I am running into a problem where the web browser (actually...
2
by: Christopher Benson-Manica | last post by:
Is there a more crossbrowser-friendly means to make HTTP requests using script than the XML methods? I need to do this in IE 5.0, and it doesn't seem to have the ActiveX control that can make XML...
1
by: Ondrej Dobias | last post by:
Hello, I would like to intercept WebBrowser's HTTP requests in order to be able to supply custom login to the proxy server, as well as choose the right certificate for several specific sites. I'm...
13
by: yawnmoth | last post by:
Say I wrote an ajax script to send out HTTP requests via ajax. Any cookies that I have associated with that site will be sent along with this HTTP request. Is there a way to prevent this from...
4
by: rzimerman | last post by:
I'm hoping to write a program that will read any number of urls from stdin (1 per line), download them, and process them. So far my script (below) works well for small numbers of urls. However, it...
4
by: yawnmoth | last post by:
Is it possible to send http requests with curl but not have curl wait for the response? The reason I ask is because I'd like to code a web app that can sorta start time consuming processes...
8
by: kikapu | last post by:
Hi to all, we are building a fairly complex system here in work, and we couldn't imagine from the start that we would spend too much time just to transfer safely some kind of characters from...
4
by: K | last post by:
Hello everyone, I understand that urllib and urllib2 serve as really simple page request libraries. I was wondering if there is a library out there that can get the HTTP requests for a given...
1
by: NTS64 | last post by:
Hi, I have an application which sends an HTTP GET request to a Webserver to recover data. I want to send this request through a proxy. However, the application does not have a built-in proxy...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.