Code example for HttpsURLConnection

Methods: connect, getOutputStream, getResponseCode, setConnectTimeout, setDoOutput