title: IOS - Format Url send to Server
body: <p>I have a format url like this:</p>
  <blockquote>
  <p>NSString *url1 = [NSString stringWithFormat:@&quot;%@&quot;,http:abc.com/check?para1= 1,2,3,4,5,6,7,8...,1000&amp;Param2=
  1,2,3...,1000&amp;Param3=12:12:12.000&amp;Param4=1.12310&amp;Param5=http:yahoo.com/adsf.html]</p>
  </blockquote>
  <p>Im using</p>
  <pre><code>    NSMutableURLRequest *request = [[NSMutableURLRequest alloc] initWithURL:[NSURL URLWithString:url1]];
      [request setHTTPMethod:@&quot;POST&quot;];
      [request setValue:[NSString stringWithFormat:@&quot;%d&quot;, [url1 length]] forHTTPHeaderField:@&quot;Content-length&quot;];
      [request setValue:@&quot;text/plain&quot; forHTTPHeaderField:@&quot;Content-type&quot;];
  
      [request setValue:@&quot;application/x-www-form-urlencoded&quot; forHTTPHeaderField:@&quot;Content-Type&quot;];
      [NSURLConnection connectionWithRequest:request delegate:self];
      
      NSData *returnData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
      NSString *responseString = [[NSString alloc] initWithData:returnData encoding:NSUTF8StringEncoding];
      NSLog(@&quot;response - %@&quot;,responseString);
  </code></pre>
  <p>but I can't send to server.</p>