I'm trying to send an UIImage and some extra parameters through POST.
I've tried the answer to this question with no success:
The HTML form equivalent would be the following (it works):
<form method="POST" action="UploadURL" enctype="multipart/form-data">
<input type="file" name="pic">
<input type="submit" value="upload">
<input type="hidden" name="param1" value="param1value"/>
<input type="hidden" name="param2" value="param2value"/>
</form>
Thanks in advance.