I tried the inets library but it times out. I don\'t think it supports HTTPS. I am trying to use ibrowse, but it isn\'t working.
inets
This is what worked for me:
application:start(crypto), application:start(public_key), application:start(ssl), application:start(inets). httpc:request(head, {"https://example.com", []}, [{ssl,[{verify,0}]}], []).