                method: HttpMethod = HttpMethod.GET,
                timeout: Double = BMSClient.sharedInstance.defaultRequestTimeout,
                headers: [String: String] = [:],
-               queryParameters: [String: String]?) {
+               queryParameters: [String: String] = [:]) {
             
         self.resourceUrl = url
         self.httpMethod = method

        configuration.timeoutIntervalForRequest = timeout
        networkSession = NSURLSession(configuration: configuration)
            
        // TODO: Add URL after it is built
        networkRequest = NSMutableURLRequest()
    }
    

            }
            else {
                value = ""
                // Log an error here
            }
            parametersInURLFormat += [key + "=" + "\(value)"]
        }
        
        return originalUrl + (originalUrl.containsString("?") ? "" : "?") + parametersInURLFormat.joinWithSeparator("&")
    }
    
}
