title: Http Post With Body
body: <p>i have sent method in objective-c of sending http post and in the body i put a string:</p>
  
  <pre><code>NSString *requestBody = [NSString stringWithFormat:@"mystring"];
  NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:url];
  [request setHTTPMethod:@"POST"];
  [request setHTTPBody:[requestBody dataUsingEncoding:NSUTF8StringEncoding]];
  </code></pre>
  
  <p>now in Android i want to do the same thing and i am looking for a way to set the body of http post.</p>