Code example for HttpsURLConnection

Methods: getResponseCode, getResponseMessage