'Method' is ambiguous for type lookup in this context, Error in Alamofire
You have to specify the module from which to lookup object type.
Call Alamofire.Method
There is probably a name collision. To solve it, you can use the qualified name of the enum
(including the module name):
private func apiRequest(method: Alamofire.Method, ...