|Don't ask to ask, just ask|
curl in Perl (GET and POST)by kepler (Scribe)
|on Aug 22, 2015 at 08:58 UTC||Need Help??|
kepler has asked for the
wisdom of the Perl Monks concerning the following question:
I want to use in Perl the equivalente expression in Php:
curl -F "targets=@<filename>" "http://mydomain.com/script.php?<args>"
I provide a filename with text data (<filename>) and the args (<args>).
So it's a Post and Get request at the same time...