Created
November 6, 2014 22:11
-
-
Save aGupieWare/f6a3027ee70e7e103f63 to your computer and use it in GitHub Desktop.
Swift client, request inventory method, take 2 . . .
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let url:NSURL = NSURL(string: endPointURL)! | |
| let task = self.urlSession.dataTaskWithURL(url, completionHandler: { (data, response, error) -> Void in | |
| println(response) | |
| responseHandler( error: nil, items: nil) | |
| }) | |
| task.resume() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment