80,360
社区成员
发帖
与我相关
我的任务
分享
public void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
String json = request.getQueryString();
System.out.println(json);
}
String contentType = "application/json;charset=UTF-8";
StringEntity se = new StringEntity(json.toString());
asyncHttpClient.post(context, url, se, contentType, reponseHander);
用的AsyncHttpClient库直接把json值post出去就可以了啊
直接把json值post出去就可以了啊