title: Swift 3 .dataTask error
body: <p>After converting to Swift 3 I try to fix all the errors at the moment.
  But this error makes me sick:</p>
  
  <blockquote>
    <p>Cannot invoke 'dataTask' with an argument list of type '(with: NSMutableURLRequest, completionHandler: (Data?, URLResponse?, NSError?) -> Void)'</p>
  </blockquote>
  
  <p>At this line of code (Its at the last line there) :</p>
  
  <pre><code> let request = NSMutableURLRequest(url: myUrl!)
      request.httpMethod = "POST"
      let para = ["userId" : user_ID]
      let boundary = generateBoundaryString()
      let imageA = images[pos]! as UIImage
      print(imageA)
  
  
      request.setValue("multipart/form-data; boundary=\(boundary)", forHTTPHeaderField: "Content-Type")
  
  
  
      let imageData = UIImageJPEGRepresentation(imageA, 1)
  
      request.httpBody = createBodyWithParameters(para, filePathKey: "file", imageDataKey: imageData!, boundary: boundary)
  
  
      URLSession.shared.dataTask(with:request, completionHandler: { (data:NSData, response:URLResponse?, error:NSError?) -&gt; Void in
  </code></pre>
  
  <p>The code continues here, but thats not important for the solution.</p>