title: Can not POST special characters via NSURLConnection sendSynchronousRequest
body: <p>This is my code:</p>
  
  <pre><code>NSURL *s =[self getAbsoluteURL:url];
  NSMutableURLRequest *requestURL = [NSMutableURLRequest requestWithURL:s cachePolicy:NSURLRequestUseProtocolCachePolicy timeoutInterval:120.00];
  [requestURL setHTTPMethod:@"POST"];
  NSLog(@"%@",parameter);
  NSError *error = [[NSError alloc] init];
  if ([parameter isKindOfClass : [NSString class]]) {
     [requestURL setHTTPBody:[parameter dataUsingEncoding:NSUTF8StringEncoding allowLossyConversion:YES]];
  }
  
  NSHTTPURLResponse *response;
  NSError *error1;
  NSData *apiData = [NSURLConnection sendSynchronousRequest:requestURL returningResponse:&amp;response error:&amp;error1];
  </code></pre>
  
  <p>It works fine but when I post some special characters like '&amp;' it sends nothing to the server, it post a blank data. </p>
  
  <p>Case:
  Actual parameter: "&amp;&amp;&amp;"
  Posted : ""</p>
  
  <p>Can anyone give me a clue how to resolve this?</p>