📅  最后修改于: 2022-03-11 14:48:13.345000             🧑  作者: Mango
URL url = new URL("http://example-url");
HttpURLConnection con = (HttpURLConnection) url.openConnection();
con.setRequestMethod("GET");
return con.getResponseMessage().toString()