let param = uploadObject
do {
return try req.make(Client.self)
.post("https://up-z2.quiniup.com",
headers: HTTPHeaders([("ContentType","multipart/form-data")]),
beforeSend: { (post) in
try post.content.encode(param)
})
} catch {
throw Abort(.internServerError, reason: "Unable to upload file to quiniu.com.
Underlying error \(error)")
}
我想通过第三方API上传文件。在出现错误的请求中调用它:
SecTaskLoadEntitlements失败error = 22 cs_flags = 20,pid = 12915
有人可以帮助我吗?