8 Einträge, 1 Seite |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use LWP::UserAgent;
use HTTP::Cookies;
use Net::SSLeay;
use MIME::Base64;
my ($page, $result, %headers) =
Net::SSLeay::post_https('$server', 443, '$url',
Net::SSLeay::make_headers(
Authorization => 'Basic ' . MIME::Base64::encode_base64("$user:$pasword",''),
Cookie => "x-main=YvjPkwfntqDKun0QEmVRPcTTZDMe?Tn?",
Content-Type => "text/xml"),
content_file => ["test.txt"]);
print "Page: $page\n";
print "Result: $result\n";
[E|B
content_file => ["test.txt"]);
8 Einträge, 1 Seite |