On the server side is a PHP web service that accepts post parameters userid, authenticationKey, some title, some comments and a file
I am recording an audio on the iPhone and uploading to this service. The code works fine if I use NSURLSessionUploadTask and construct a multi part file upload request with DefaultSessionConfiguration
I want to however upload the file using Background Session configuration.
I could not find any sample code for background file upload (along with some parameters) in the post request. I am using Swift and iOS 8
Would appreciate your help.
Thanks. Sara