I need the response to be converted to a string..
HttpClient httpclient = new DefaultHttpClient();
Log.d("HTTP","Exe");
String url=Sign(token);
Log.d("HTTP","Exe");
HttpPost httpPost;
httpPost = new HttpPost(url);
The response(json) is supposed to be something like
{
"url": "http://db.tt/APqhX1",
"expires": "Tue, 01 Jan 2030 00:00:00 +0000"
}
how do i receive it?I am working on Android(java)..
this is the way to get any json as a http response. I hope it would be usefull.