bigup401 has asked for the wisdom of the Perl Monks concerning the following question:
Error: No backend configured for scheme https
my $http = HTTP::Tinyish->new(); my $res = $http->post("https://api.sandbox.paypal.com/v1/oauth2/token +/", { headers => { 'username' => 'client_id', 'password' => 'screte', 'grant_type' => 'client_credentials'} }); $http->get("https://api.paypal.com/v1/payments/payment/PAY-5YK922393 +D847794YKER7MUI", { headers => { 'Content-Type' => 'application/json' }, }); if ( $res->{'is_success'} ) { print Dumper( decode_json $res->{'content'} ); } else { print "$res->{'status'} $res->{'reason'}\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: https error
by dorko (Prior) on Nov 01, 2018 at 01:36 UTC | |
by bigup401 (Pilgrim) on Nov 01, 2018 at 08:58 UTC | |
by dorko (Prior) on Nov 01, 2018 at 12:57 UTC | |
by Veltro (Hermit) on Nov 02, 2018 at 14:45 UTC | |
|
Re: https error
by Corion (Patriarch) on Nov 01, 2018 at 14:59 UTC | |
by bigup401 (Pilgrim) on Nov 01, 2018 at 19:26 UTC |