     public let endpoint : String
     public var basicUsername : String
     public var basicPassword : String
+    public var CSRFToken : String
     public var signRequestsBasic : Bool = false
+    public var signCSRFToken : Bool = false
     
     // MARK: - Main
     

     
     - parameter entityType:        The entity name, eg "node".
     - parameter entityId:          The ID of the entity to get.
     - parameter completionHandler: A completion handler that your delegate method should call if you want the response

     */
    public func get(entityType:String, entityId:String, completionHandler:completion) {

            let base64String = credentialData.base64EncodedStringWithOptions(NSDataBase64EncodingOptions([]))
            
            headers["Authorization"] = "Basic \(base64String)"
        }
        if (diosManager.signCSRFToken == true) {
            headers["X-CSRF-Token"] = diosManager.CSRFToken
        }
        Alamofire.request(method, urlString, parameters: params, encoding:.JSON, headers:headers).validate().responseSwiftyJSON({ (request, response, json, error) in
            switch response!.result {
