Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: request URL from a specified IP address

by Sewi (Friar)
on Oct 19, 2011 at 05:28 UTC ( #932289=note: print w/replies, xml ) Need Help??

in reply to request URL from a specified IP address

Try to set the target IP address as proxy server for LWP:

my $ua = LWP::UserAgent->new; $ua->proxy('http', '');

Communication with proxy servers is slightly different from "plain" HTTP communication (mostly: the URL is part of the GET/POST request, not only the path part), but I didn't find a webserver not supporting this.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://932289]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2017-04-26 09:29 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (471 votes). Check out past polls.