0

I am trying to upload the video to CloudFlare with TUSKit recommended here ...

Video is uploaded in POST request form-data against the key file ... but the read the docs of TUSClient it doesn't offer the POST request with form-data ...

here is the upload method of TUSKit ...

 @discardableResult
    public func upload(data: Data, preferredFileExtension: String? = nil, uploadURL: URL? = nil, customHeaders: [String: String] = [:], context: [String: String]? = nil) throws -> UUID 

how i am supposed to send the video in form-data or do I need to switch to Alamofire ??

Wahab Khan Jadon
  • 875
  • 13
  • 21

0 Answers0