Code example for HttpURLConnection

Methods: connect, disconnect, getContentType, setDoInput