title: NSURLRequest POST resulting in blank submission
body: <p>I am trying to POST data to a JSON webservice. I can succeed if I do this:</p>
  
  <p><code>curl -d "project[name]=hi&amp;project[description]=yes" http://mypath.com/projects.json</code></p>
  
  <p>I'm trying to use code like this to accomplish it:</p>
  
  <pre><code> NSError *error = nil;
   NSDictionary *newProject = [NSDictionary dictionaryWithObjectsAndKeys:self.nameField.text, @"name", self.descField.text, @"description", nil];
   NSLog(@"%@", self.descField.text);
   NSData *newData = [NSJSONSerialization dataWithJSONObject:newProject options:kNilOptions error:&amp;error];
   NSMutableURLRequest *url = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"http://mypath.com/projects.json"]];
   [url setHTTPBody:newData];
   [url setHTTPMethod:@"POST"];
   NSURLConnection *connection = [[NSURLConnection alloc] initWithRequest:url delegate:self];
  </code></pre>
  
  <p>My request creates a new entry, but that entry is blank in both the name and description. My NSLog in the above code produces the appropriate output.</p>