1- URL url = new URL ("http:// https://www.blazemeter.com/"); 2- HttpURLConnection con = (HttpURLConnection) url.openConnection (); 3- con.setRequestMethod ("GET");