I am uploading Image on server using Alamofire only (without using any model class). I've tried multiple link for eg upload image to server using Alamofire in every Link I stuck on this issue " Cannot invoke 'data' with an argument list of type '(using: String.Encoding)' " I do not understand what went wrong. kindly let me know below is my code:
Required parameters are
/*
name:test,
description:testing testing,
image:**filetype** ,
user_id:63,
add_by:63
*/
您应该将值向下转换为字符串而不是任何其他内容。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.