Trying to connect to Imgur API via SSL gives me an error. Here\'s the code and the error:
API_URI = URI.parse(\'https://api.imgur.com\') API_PUBLIC_KEY = \'C
Specifying the port when creating the HTTP client fixed this problem.
http = Net::HTTP.new(API_URI.host, API_URI.port)
or
http = Net::HTTP.new(API_URI.host, 443)