发送JSON格式参数POST请求 @param url 请求路径 @param params JSON格式请求参数 @return HTTP响应对象 @throws IOException 程序异常时抛出,由调用者处理
(String url, String params)
| 130 | * @throws IOException 程序异常时抛出,由调用者处理 |
| 131 | */ |
| 132 | public static Response post(String url, String params) throws IOException { |
| 133 | return doPostRequest(url, null, params); |
| 134 | } |
| 135 | |
| 136 | /** |
| 137 | * 发送JSON格式参数POST请求 |
no test coverage detected