用http client 指定url 獲取JSON數據並解析

CloseableHttpClient closeableHttpClient = HttpClients.createDefault(); HttpGet httpGet=new HttpGet(url); try { CloseableHttpResponse response = closeableHttpClient.execute(httpGet); String res
相關文章
相關標籤/搜索