BufferedReader br = null;
try {
br = new BufferedReader(new InputStreamReader(request.getInputStream()));
} catch (IOException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
}
String line = null;
StringBuilder sb = new StringBuilder();
try {
while((line = br.readLine())!=null){
sb.append(line);
}
} catch (IOException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
}
// 将资料解码
String reqBody = sb.toString();