### Question:
HttpClient { public static String post(String url, List<NameValuePair> params) throws Exception { String responseBody = ""; CloseableHttpClient httpclient = HttpClients.createDefault(); try { HttpPost httpPost = new HttpPost(url); httpPost.setEntity(new UrlEncodedFormEntity(params, Const.ENCODE)); responseBody = httpclient.execute(httpPost, createResponseHandler()); } finally { httpclient.close(); } return responseBody; }  static String get(String url); static String post(String url, List<NameValuePair> params); static String post(String url, Map<String, String> map); static String post(String url, String param); static String getConn(String url); static String postConn(String url, String param); static String upload(String path, InputStream is, String fileName); static String createUrl(String url, Map<String, Object> params);  }### Answer:
@Test public void post() throws Exception { System.out.println(HttpClient.post(url, "ddd")); }