use HTTP::AnyUA;
use namespace::clean;
-our $VERSION = '0.602'; # VERSION
+our $VERSION = '0.603'; # VERSION
sub _croak { require Carp; goto &Carp::croak }
my $encoded_data = $self->json->encode($data);
$options->{content} = $encoded_data;
$options->{headers}{'content-length'} = length $encoded_data;
- $options->{headers}{'content-type'} = 'application/json';
+ $options->{headers}{'content-type'} = 'application/json;charset=UTF-8';
}
return $self->_handle_response($self->any_ua->request($method, $url, $options));
=head1 VERSION
-version 0.602
+version 0.603
=head1 SYNOPSIS