Code example for URLConnection

Methods: connect, getInputStream, setDoInput