StackOverflow 文档 iOS 教程 Alamofire 手动验证 手动验证 Created: November-22, 2018 Alamofire.request(.GET, "https://httpbin.org/get", parameters: ["foo": "bar"]) .validate(statusCode: 200..<300) .validate(contentType: ["application/json"]) .response { response in print(response) } 自动验证Alamofire