title: How to Call HTTP Get and Save in Variable In Swift?
body: <p>My question is simple: how do you call a HTTP GET Request in Swift?
  I am trying to retrieve specific data from server (I have the URL string), the problem is that the previous answers I saw, doesn't explain thoroughly how to request an HTTP Get and save the retrieved information in a variable to be used later? Thanks in advance!</p>
  
  <p>Here's what I have so far:</p>
  
  <pre><code>       let myURL = NSURL(string:"https://api.thingspeak.com/channels/CHANNEL_ID/last_entry
          _id.txt");
  
         let request = NSMutableURLRequest(url:myURL! as URL);
  
          request.httpMethod = "GET"
  </code></pre>
  
  <p>Not sure what do following requesting the GET.</p>