     // MARK: Requests
     
     public func get() {
-        send(httpMethod: "get")
+        send(method: .get)
     }
     
     public func delete() {
-        send(httpMethod: "delete")
+        send(method: .delete)
     }
     
     public func post() {
-        send(httpMethod: "post")
+        send(method: .post)
     }
     
     public func update() {
-        send(httpMethod: "update")
+        send(method: .update)
     }
     
     private func handleGenericError(with message: String) {

        
        //request
        var request = URLRequest(url: nsurl, cachePolicy: .useProtocolCachePolicy)
        request.httpMethod = httpMethod
        
        //basic auth
        let basicAuthResult = createBasicAuth()

            }
        }
        
        //body
        switch method {
        case .post, .update:
            let httpBodyResult = createHttpBody(for: method)
            switch httpBodyResult {
            case .success(let httpBody):
                request.addValue("\(httpBody.count)", forHTTPHeaderField: "Content-Length")
                request.httpBody = httpBody
            case .failure(let error):
                return handleError(error)
            }
            
        default:
            break
        }
        
        //configuration
