Form form = Form.
form();
for (String s : paramMap.keySet()) {
form.add(s, paramMap.get(s));
}
try {
String content = Request.
Post(
"x.x.x.x:c/x.htm")
.connectTimeout(
2000)
.bodyForm(form.build(),
Charset.forName("utf-8"))
.execute().returnContent().asString();
JSONObject json = JSONObject.
parseObject(content);
}
catch (Exception e) {
}
return null;