請求webService的幾種方式

第一種,使用HttpURLConnection,post請求。須要傳入路徑以及xml報文,返回結果報文。app public String sendPost(String url, String param) {         PrintWriter out = null;         BufferedReader in = null;         String result = "";
相關文章
相關標籤/搜索