N = '1.123130';
}
use strict;
use warnings;
use Moo;
use Sub::Quote;
use Method::Signatures;
use JSON::XS;
use LWP::UserAgent;
use HTTP::Request::Common;
use XML::Simple;
# ABSTRACT: Connect to the
'x'
);
print "$uri\n" if $self->debug;
my $res;
my $type = ref $content eq 'HASH' ? 'json' : 'xml';
if($method =~ /get/i){
if(ref $content eq 'HASH') {
$uri->query_form($conte
pplication/json',
Content_Type => 'application/json',
);
} else {
#$content = $self->_template($content) if $content;
if($type eq 'json') {
print "Encoding as JSON\n" if $se