I use Alamofire
4.0.1 and have this code:
let params = Mapper().toJSON(group)
Alamofire.request("\(Config().apiAdminTableGroup)\(group.id)/", method: .put, parameters: params, headers: Config().apiHeaders, encoding: JSONEncoding.default)
.responseJSON { response in
...
}
But getting this error:
Extra argument 'method' in call
This is by documentation, is this bug or?