Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
is it possible to send post request whose content comes from file?
to avoid bumping up memory usage?
$ua = LWP::UserAgent->new(); $req = HTTP::Request->new(POST=> $post_url); $res = $ua->request($req, 'response_file.dat');
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: http post requst content from file
by roboticus (Chancellor) on Feb 17, 2010 at 14:24 UTC | |
by Corion (Patriarch) on Feb 17, 2010 at 15:19 UTC | |
|
Re: http post requst content from file
by Anonymous Monk on Feb 17, 2010 at 15:15 UTC |