Nutz 使用Http.post 方法传JSON的值要怎么使用?
Request req = Request.create(postUrl, METHOD.POST); req.getHeader().set("Content-Type", "application/octet-stream;charset=UTF-8"); req.setData(Json.toJson(msg, JsonFormat.compact())); Response resp = Sender.create(req).send();