- or download this
use JIRA::REST;
use JSON;
...
});
print(parse_json ($request));
- or download this
use REST::Client;
my $client = REST::Client->new();
$client->setHost('https://jira.hostname:PORT/jira/rest');
$client->request('post', '/auth/1/session', ['{ "username" : "myus
+er", "password" : "mypass" }', undef]);
print ($client->responseContent());
- or download this
use LWP;
use LWP::UserAgent;
...
else {
die $response->status_line;
};
- or download this
500 Can't connect to jira.hostname:PORT
Bad file descriptor at C:/myperl/perl/vendor/lib/LWP/Protocol/http.pm
+line 47.
at jiratest.pl line 28.
- or download this
sub _new_socket
{
...
$sock;
}