For debugging purposes, I\'d like to see the raw request that is going to be sent. Is there a way to get this without a HTTP monitor directly from the API of HttpPost or Htt
Try this:
HttpClient client = new HttpClient(); PostMethod method = new PostMethod(url); method.setParameter(...., ....);
to retrieve the URI
System.out.println("getUri: " + method.getURI());
to retrieve the parameters in POST
method.getRequestEntity().writeRequest(System.out);