title: File Upload image file code in Objective C iOS
body: <p>i am new to iOS application development, i just want to upload an image file using NSMutableURLRequest. The body of the request should be included with the image. I just want to send image as below as java code</p>
  
  <pre><code> HttpPut mCreatePost = new HttpPut(params[0]+"/data");
   FileEntity fileEntity = new FileEntity(uploadFile, "image/jpeg");
   mCreatePost.setEntity(fileEntity);
   mHttpClient.execute(mCreatePost);
  </code></pre>
  
  <p>Please help me to write Objective C code as above. Thanks in advance.</p>