Request method=GET
data submitted=From this we determine that the METHOD is POST and the form should be submitted to /cgi-bin/whois.pl. This absolute URL is relative to the page it is found on, so the form should be submitted to http://ws.arin.net/cgi-bin/whois.pl when the Submit input is clicked. The only INPUT element other than the Submit is a single text field named queryinput that takes 20 or fewer characters. Other types of input element are described in http://www.w3.org/TR/html4/interact/forms.html. The basic operation is to pass a fully prepared HttpURLConnection connected to the POST target URL into the Parser, either in the constructor or via the setConnecti