|
|
@@ -5,9 +5,10 @@ import Alamofire
|
|
|
// Allow network requests to complete
|
|
|
XCPSetExecutionShouldContinueIndefinitely()
|
|
|
|
|
|
-Alamofire.request(.GET, "http://httpbin.org/get", parameters: ["foo": "bar"])
|
|
|
+Alamofire.request(.GET, URLString: "http://httpbin.org/get", parameters: ["foo": "bar"])
|
|
|
.responseString { (request, response, string, error) in
|
|
|
- println(request)
|
|
|
- println(response)
|
|
|
- println(string)
|
|
|
+ print(request)
|
|
|
+ print(response)
|
|
|
+ print(string)
|
|
|
}
|
|
|
+
|