Вы сказали As normally Alamofire accept [String:Any] parameters
и затем вы проходите [[String: Any]]
.
Попробуйте передать ваши данные в hhtpBody.
let urlString = "yourString"
guard let url = URL(string: urlString) else {return}
var request = URLRequest(url: url)
request.httpMethod = "POST"
request.setValue("application/json", forHTTPHeaderField: "Content-Type")
do {
request.httpBody = try JSONSerialization.data(withJSONObject: your_parameter_aaray)
} catch let error {
print("Error : \(error.localizedDescription)")
}
Alamofire.request(request).responseJSON{ (response) in
}