title: Making an API call in Swift 2.0
body: <p>I've been scouring examples looking to pull some ideas together, I've come up with this although I'm not getting any output. It never enters the do which leads me to believe I have an issue with my call. </p>
  
  <p>Can anyone shed some light on this for me or lead me to an appropriate location with more information on API calls in swift 2.0? Examples of this are quite sparse.</p>
  
  <pre><code>    let url : String = "http://www.fantasyfootballnerd.com/service/nfl-teams/json/test/"
      let request : NSMutableURLRequest = NSMutableURLRequest()
      request.URL = NSURL(string: url)
      request.HTTPMethod = "GET"
      print("Start")
      let session = NSURLSession.sharedSession()
      session.dataTaskWithRequest(request) { (data, response, error) -&gt; Void in
  
          do {
              let jsonResult: NSDictionary! = try NSJSONSerialization.JSONObjectWithData(data!, options:NSJSONReadingOptions.MutableContainers) as? NSDictionary
              print("In method")
              if (jsonResult != nil) {
                  // process jsonResult
                  print("Data added")
              } else {
                  print("No Data")
                  // couldn't load JSON, look at error
              }
          }
          catch {
            print("Error Occured")
          }
      }
  </code></pre>