ervice::Jandi::WebHook::VERSION = 'v0.0.1';
use strict;
use warnings;
use HTTP::Tiny;
use JSON qw/encode_json/;
=encoding utf8
=head1 NAME
WebService::Jandi::WebHook - Perl interface to Jandi Serv
',
accept => 'application/vnd.tosslab.jandi-v2+json',
'content-type' => 'application/json',
}
),
};
bless $self, $class;
return
ge } unless ref $message;
my $json = encode_json($message);
my $res = $self->{http}->request(
'POST',
$self->{url},
{ content => $json }
);
return $res;
}
=h