i have sent method in objective-c of sending http post and in the body i put a string:
NSString *requestBody = [NSString stringWithFormat:@\"mystring\"];
NSM
ArrayList nameValuePairs = new ArrayList();
then add elements for each pair
nameValuePairs.add(new BasicNameValuePair("yourReqVar", Value);
nameValuePairs.add( ..... );
Then use the HttpPost:
HttpPost httppost = new HttpPost(URL);
httppost.setEntity(new UrlEncodedFormEntity(nameValuePairs));
and use the HttpClient and Response to get the response from the server