title: iOS: how to perform a HTTP POST request?
body: <p>I'm approaching iOS development and I'd like to have one of my first applications to perform a HTTP POST request.</p>
  
  <p>As far as I can understand, I should manage the connection which handles the request via a <code>NSURLConnection</code> object, which forces me to have a delegate object, which in turn will handle data events.</p>
  
  <p>Could someone please clarify the task with a practical example?</p>
  
  <p>I should contact an https endpoint sending authentication data (username and password) and getting back a plain text response.</p>