6;
use strict;
use warnings FATAL => 'all';
use JSON::XS;
use LWP::UserAgent;
our $VERSION = '1.04';
# JSON object
my $json_xs = JSON::XS->new;
$json_xs->utf8(1);
my %connection_params = (
'se
json');
$request->content($json_xs->encode($params));
my $result = undef;
my $response = $ua->request($request);
if ($response->is_success) {
eval{
$result = $json
nd etc. This request then passed to one of cleantalk.org servers via HTTP + JSON. Server returns an answer encoded with JSON, this answer consist values indicates spam or not this comment/registration