title: How to send form data in post request in iOS?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/12712861/post-in-objective-c-ipad-dev">POST in Objective-C iPad dev</a>  </p>
  </blockquote>
  
  
  
  <p>I'm very inexperienced with networking and the like, so please be kind.</p>
  
  <p>I'm trying to send a post request with the following form data</p>
  
  <p><code>{"email":"JoeSmith@aol.com","password":"password","password_confirm":"password","name":"Joe Smith","cellphone":"4402415585","address":"Fake Street"}:</code></p>
  
  <p>So far here is what I have:</p>
  
  <pre><code>NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@",SERVER_ADDRESS]] cachePolicy:NSURLRequestReloadIgnoringLocalAndRemoteCacheData
                                                     timeoutInterval:10];
  [request setHTTPMethod: @"POST"];
  NSURLConnection *connection = [NSURLConnection connectionWithRequest:request delegate:self];
  [connection start];
  </code></pre>
  
  <p>My issue is I can't figure out how to include the form data in this request.  I'm sure there's a simple method of <code>NSMutableURLRequest</code> that can be used, but I haven't been able to figure out which one.</p>