I am trying to set a send a session id to a webpage. I am not sure what's wrong. The connection is failing and I am getting the response as
500 at cookies.pl line 22.
Could you please help.
# sending cookies as a part of header
$sessionKey = "session";
$sessionId = "1399663809196";
my $ua = LWP::UserAgent->new;
$request = HTTP::Request->new(POST => 'https://localhost:4096/CVTLAPI/
my $cookies = HTTP::Cookies->new();
$response = $ua->request($request);