Group
Extension

Matches 1

Captcha-reCAPTCHA-V3 ( W/WO/WORTHMINE/Captcha-reCAPTCHA-V3-0.06.tar.gz, WORTHMINE, 2024; MetaCPAN )
Captcha-reCAPTCHA-V3/lib/Captcha/reCAPTCHA/V3.pm ( view source; MetaCPAN )
 5.008001;
use strict;
use warnings;

our $VERSION = "0.06";

use Carp qw(carp croak);
use JSON qw(decode_json);
use LWP::UserAgent;

use overload(
    '""'  => sub { $_[0]->name() },
    'cmp' => sub
$ua->post( $self->{'verify_api'}, $params );
    if  ( $res->is_success ) {
        return decode_json( $res->decoded_content );
    } else {
        croak $res->status_line;
    } 
}

sub deny_by_sco
to get I<query_name> so we don't have to care about it.

The response contains JSON so it returns decoded value from JSON.

 unless ( $content->{'success'} ) {
    # code for failing like below
    di

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.