                 .GET,
                 URLString              : URLString,
                 params                 : params,
+                data                   : data,
                 json                   : json,
                 headers                : headers,
                 auth                   : auth,
                 cookies                : cookies,
-                data                   : requestBody,
+                requestBody            : requestBody,
                 URLQuery               : URLQuery,
                 redirects              : allowRedirects,
                 asyncCompletionHandler : asyncCompletionHandler

                .POST,
                URLString              : URLString,
                params                 : params,
                json                   : json,
                headers                : headers,
                auth                   : auth,
                cookies                : cookies,
                data                   : requestBody,
                URLQuery               : URLQuery,
                redirects              : allowRedirects,
                asyncCompletionHandler : asyncCompletionHandler


        completionHandler(.UseCredential, endCredential)
    }

    public func URLSession(session: NSURLSession, task: NSURLSessionTask, willPerformHTTPRedirection response: NSHTTPURLResponse, newRequest request: NSURLRequest, completionHandler: (NSURLRequest!) -> Void) {
        if let allowRedirects = taskConfigs[task.taskIdentifier]?.redirects {
            if !allowRedirects {
