Please note that you need to deal with security in order to allow the request to pass through. See https://forums.developer.apple.com/thread/3544 to deal with

Transport security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app’s Info.plist file.

import UIKit

class ViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        // Do any additional setup after loading the view, typically from a nib.
        let qurl: String = "http://localhost:4785/graph/entity/get/4HR3OxG1db"
        
        func buildRequestHeaders(request: NSMutableURLRequest) -> NSMutableURLRequest{
            request.addValue("application/json", forHTTPHeaderField: "Content-Type")
            request.addValue("application/json", forHTTPHeaderField: "Accept")
            return request
        }
        
        func htttpRequest(request: NSURLRequest!) {
            var session = NSURLSession.sharedSession()
            var task = session.dataTaskWithRequest(request){
                (data, response, error) -> Void in
                if error != nil {
                    print(error!.localizedDescription)
                } else {
                    let responseString = NSString(data: data!, encoding: NSUTF8StringEncoding)
                    print("responseString = \(responseString!)")
                }
            }
            task.resume()
        }
        var urlObject = NSURL(string: qurl)
        var request = NSMutableURLRequest(URL: urlObject!)
        request = buildRequestHeaders(request)
        request.HTTPMethod = "GET"
        htttpRequest(request)
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }


}

iPhone6