Moya/Alamofire - URL encoded params with same keys
问题 I'm using Moya Swift framework for networking layer which is constructed on top of Alamofire. Currently, I'm trying to send request with URL encoded parameters that have same keys. i.e. http://some-site/request?param=v1¶m=v2¶m=v3 I've already tried to group these params into Set or NSSet or Array like this but nothing helps to achieve desired result. ["param": ["v1", "v2", "v3"]]; ["param": Set(arrayLiteral: "v1", "v2", "v3")] Any help would be appreciated either with Moya or with