### Question:
HttpUtils { public static String post(String url, Map<String, Object> params) throws Exception { return post(url, JSON.toJSONString(params), CONNECT_TIMEOUT_DEFAULT_IN_MILL, SOCKET_TIMEOUT_DEFAULT_IN_MILL); } private  HttpUtils(); static String get(String url); static String post(String url, Map<String, Object> params); static String post(String url, String params); static String post(String url, Map<String, Object> params,
                              int connectTimeoutInMill, int socketTimeoutInMill); static String post(String url, String params,
                              int connectTimeoutInMill, int socketTimeoutInMill); final static Charset UTF_8; final static int CONNECT_TIMEOUT_DEFAULT_IN_MILL; final static int SOCKET_TIMEOUT_DEFAULT_IN_MILL; }### Answer:
@Test public void testSimpleCase() throws Exception { String url = "https: Map<String, Object> params = new HashMap<String, Object>(); params.put("foo", "bar"); String rsp = HttpUtils.post(url, params); System.out.println(rsp); Assert.assertNotNull(rsp); }