- or download this
use strict; use warnings;
use LWP::UserAgent;
...
die $res->content if not $res->is_success;
print Dumper decode_json $res->decoded_content;
__END__
- or download this
$ perl 1206484.pl | head -20
Can't connect to www.cryptopia.co.nz:443 (certificate verify failed)
SSL connect attempt failed error:14090086:SSL routines:ssl3_get_server
+_certificate:certificate verify failed at /home/nick/perl5/perlbrew/p
+erls/perl-5.26.1/lib/site_perl/5.26.1/LWP/Protocol/http.pm line 46.
- or download this
use strict; use warnings;
use LWP::UserAgent;
...
die $res->content if not $res->is_success;
print Dumper decode_json $res->decoded_content;
__END__
- or download this
$ perl 1206484.pl | head -20
$VAR1 = {
...
'ListingStatus' => 'Active',
'Id' => 331,
'WithdrawFee' => '0.01'