URL siteURL = new URL(urlValue); HttpURLConnection connection = (HttpURLConnection) siteURL.openConnection(); connection.setRequestMethod("GET");
HttpResponse response = httpclient.execute(post); String body = EntityUtils.toString(response.getEntity()); System.out.println(body);