title: POST multipart/form-data with Objective-C
body: <p>So this HTML code submits the data in the correct format for me.</p>
  
  <pre><code>&lt;form action="https://www.example.com/register.php" method="post" enctype="multipart/form-data"&gt;
      Name: &lt;input type="text" name="userName"&gt;&lt;BR /&gt;
      Email: &lt;input type="text" name="userEmail"&gt;&lt;BR /&gt;
      Password: &lt;input type="text" name="userPassword"&gt;&lt;BR /&gt;
      Avatar: &lt;input type="file" name="avatar"&gt;&lt;BR /&gt;
      &lt;input type="submit"&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>I've looked into a good number of articles on how to do a multipart/form-data POST on iOS, but none really explain what to do if there were normal parameters as well as the file upload.</p>
  
  <p>Could you please help me with the code to POST this in Obj-C?</p>
  
  <p>Thanks!</p>