title: Synchronous HTTPS POST Request iOS
body: <p>For Android, I've been able to send POST requests in the following way:</p>
  
  <pre><code>HttpClient http = new DefaultHttpClient();
  HttpPost request = new HttpPost("https://somewebsite.com");
  request.setEntity(new StringEntity(data));
  http.execute(request);
  </code></pre>
  
  <p>However, on iOS I get the following error:</p>
  
  <pre><code>NSURLConnection/CFURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9843)
  </code></pre>
  
  <p>What is the best way to perform a synchronous POST request using https on iOS?</p>