in reply to Re: bitcoin price from command line
in thread bitcoin price from command line

Hi I follow your code and I'm getting the following error while executing my script.
[Tue Jan 08 12:34:21 2019] [error] [client 127.0.0.1] Error GETing htt +ps://api.coindesk.com/v1/bpi/currentprice/usd.json: Can't connect to +api.coindesk.com:443 at /home/alexandre/apache/cgi-bin/helloWorld.cgi + line 20.

Replies are listed 'Best First'.
Re^3: bitcoin price from command line
by Corion (Patriarch) on Jan 08, 2019 at 12:20 UTC

    Maybe you need to configure LWP::UserAgent with the HTTP proxy settings for your environment?

    $ua->env_proxy();