I am trying to calculate md5 hash of a http reqest before sending it to server. For this I have to get the http request first. can any body help me?
A:
Hi Cristian,
thanks but I use following code to send HTTP request
try {
con = (HttpURLConnection) new URL(anUrl)
.openConnection();
con.setRequestMethod("GET");
con.setReadTimeout(30000);
con.setDoOutput(true);
con.setDoInput(true);
con.connect();
} catch (Exception e) {
e.printStackTrace();
}
and when I tried to use HttpRequest It seems like I have to implement the methods.Could you please help me here?
BR
Emon
Emon
2010-07-16 12:37:55