ver.
=item C<x-unparseable-data-received>
The http request was completed successfully but Mojo::JSON could not
decode the response received from the reCAPTCHA server.
=back
=head1 SEE ALSO
=over
BSTRACT: use Googles "No CAPTCHA reCAPCTHA" (reCAPTCHA v2) service in Mojolicious apps
use Mojo::JSON qw();
use Mojo::UserAgent qw();
has conf => sub { +{} };
has ua => sub { Mojo::UserAgent->new(
my $json = '';
eval { $json = Mojo::JSON::decode_json( $tx->res->body ); };
if ( $@ ) {
$c->app->log->error( 'Decoding JSON respons
nless ( $json->{'success'} == Mojo::JSON->true ) {
@{$err} = @{ $json->{'error-codes'} // [] };
}
$verified = $json->{'succe