java调用外部接口
Java调用外部接口的方法,最终返回接口response的信息12345678910111213141516String strURL = "这里是你要调用的接口地址";URL url = new URL(strURL);HttpURLConnection httpConn = (HttpURLConnection)url.openConnection();httpConn.setReque...
阅读全文…