I need to send a file with the parameters and tracking the progress of uploading. Method
Alamofire.request(.POST, "http://httpbin.org/post", parameters: parameters, encoding: .JSON)
don't track progress uploading. Method
Alamofire.upload(.POST, "http://httpbin.org/post", file: fileURL)
.progress { (bytesWritten, totalBytesWritten, totalBytesExpectedToWrite) in
println(totalBytesWritten)
}
.responseJSON { (request, response, JSON, error) in
println(JSON)
}
is not able to set the parameters
is it possible to send a file with the parameters and tracking the progress of uploading?