Hello, I couldn't find a Perl mailing list, so excuse me for asking here.
I really need to post some data, and get the response back. Just how
would I do that? I currently have this:
$curl->setopt(CURLOPT_POSTFIELDS, $data);
$curl->setopt(CURLOPT_URL, 'https://example.com/path/to/script');
$curl->setopt(CURLOPT_VERBOSE, 1);
$curl->setopt(CURLOPT_POST, 1);
$curl->setopt(CURLOPT_SSLVERSION, 3);
$curl->perform();
There's no CURLOPT_RETURNTRANSFER in libcurl C API, and I presume Perl
doesn't have it either. WWW::Curl has almost zero documentation. Thanks
for any help.
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.