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