         //        Array
         //        Dictionary
         if parameters == nil {
-            return ""
+            return nil
         }
         var components: [(String, String)] = Array()
         for (key) in parameters!.keys.sorted(isOrderedBefore: <){

     */
    public static func request(with url:String, method:String?="GET", parameters:[String:String]?=[:],headers: [String: String]?=[:]) -> URLRequest{
        
        let queryString = self.queryString(from:parameters)!
        var request:URLRequest
        var urlString:String
        request = URLRequest(url: URL(string: url)!)

        }
        
        if(self.methodShouldAddQuery(method!)){
            urlString = url
            if let query:String = queryString {
                urlString += "?"
                urlString += query
            }
            request.url = URL(string: urlString)
        }else{
            urlString = url
            if let query:String = queryString {
                request.httpBody = query.toUTF8Data()
            }  
        }
        return request
    }
