67,512
社区成员
发帖
与我相关
我的任务
分享
String input = buffer.toString();
JSONObject params = new JSONObject(input);
JSONObject data = new JSONObject();
data.put("username", "123");
data.put("password", "456");
data.put("email", "11111111111@qq.com");
data.put("phone", "11111111111");
System.out.println("data.toString());
JSONObject params = new JSONObject(data.toString());
A JSONObject text must begin with '{' at
提示很明显了,json格式{"":""}
System.out.print一下rquest中获取到的内容