         
         let relationshipURL: NSURL = NSURL(string: relationshipResource)!
         
-        let relationshipRequest: Request = Request(url: relationshipURL, credential: self.credentials)
+        let relationshipRequest: Request = Request(url: relationshipURL, credentials: self.credentials)
         var relationshipsForNode: [Relationship] = [Relationship]()
         
         relationshipRequest.getResource({(data, response) in

        
        let nodeResource: String = self.baseURL + "/db/data/node"
        let nodeURL: NSURL = NSURL(string: nodeResource)!
        let nodeRequest: Request = Request(url: nodeURL, credential: self.credentials)
        
        nodeRequest.postResource(node.nodeData, forUpdate: false, successBlock: {(data, response) in


        
        let relationshipResource: String = relationship.fromNode
        let relationshipURL: NSURL = NSURL(string: relationshipResource)!
        let relationshipRequest: Request = Request(url: relationshipURL, credentials: self.credentials)
        
        relationshipRequest.postResource(relationship.relationshipInfo, forUpdate: false,
                                         successBlock: {(data, response) in
