+ 2
There are two distinct issues with the URL "http://quotes.stormconsultancy.co.uk/random.json".
The first http should be https. Sololearn uses https protocol when fetching the URL most also use https protocol.
The second the api is no longer operational, most likely due to the changes made by Heroku.
Demo using another source
https://code.sololearn.com/W3y91dTx5RO8/?ref=app
0
https://code.sololearn.com/WQCu2PUP3v2E/?ref=app