se warnings;
use Carp qw(carp croak);
use HTTP::Request::Common qw(POST);
use LWP::UserAgent;
use JSON::XS;
our $VERSION = '0.02';
=over
=item new (%config)
Constructor. You can set the following
t the complete URL
$self->{'url'} = $self->{'baseurl'} . '/authkey=' . $self->{'authkey'} . '/json';
# Exit if HTTPS requested, but LWP::Protocol::https not found
if ($self->{'baseurl'} =
n/icinga-web-api.html for
details on how filters need to be defined. Basically, they define it in JSON
syntax, but this module requires a Perl hash reference instead.
Simple Example:
$api->set_fil