Extra argument 'method' in call

前端 未结 15 1716
你的背包
你的背包 2020-12-16 08:59

Getting error while calling Alamofire request method in the latest version(4.0.0).

The syntax is:

Alamofire.request(urlString,method: .post, parame         


        
15条回答
  •  臣服心动
    2020-12-16 09:21

    just make sure all the parameters are in the correct format , most importantly the parameters must be in [String:Any] type array.

提交回复
热议问题