         
         let request = NSMutableURLRequest(URL: resourceURL)
         
-        request.HTTPMethod = "POST"
+        request.HTTPMethod = RequestType.Function.HTTPMethod.rawValue
         
         // add HTTP body
         if JSONObject != nil {

    
    // MARK: - Cache Response
    
    private func cacheSearchResponse<T: NSManagedObject>(response: [[String: UInt]]) throws -> [T] {
        
        // get results as cached resources...
        

        return dataTask
    }
    
    
    private func editResource(entity: NSEntityDescription, withID resourceID: UInt, changes: [String: AnyObject], URLSession: NSURLSession, completionBlock: ((error: ErrorType?) -> Void)) -> NSURLSessionDataTask {
        
