Skip to content

Instantly share code, notes, and snippets.

@aGupieWare
Created November 6, 2014 22:11
Show Gist options
  • Select an option

  • Save aGupieWare/f6a3027ee70e7e103f63 to your computer and use it in GitHub Desktop.

Select an option

Save aGupieWare/f6a3027ee70e7e103f63 to your computer and use it in GitHub Desktop.
Swift client, request inventory method, take 2 . . .
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