I\'ve got a bug involving httprequest, which happens sometimes, so I\'d like to log HttpGet and HttpPost request\'s content when that happens.
So, let\'s say, I create H
If you want the content string and this string does not have parameters you can use
String line = null; BufferedReader reader = request.getReader(); while ((line = reader.readLine()) != null){ System.out.println(line); }