     
     
     
-    @discardableResult public class func doGETTokenToURL(_ url : String, withPath path : String, withParameter parameters : Any?, withToken token : String, withCompletion completion : @escaping (_ objResponse : CDMWebResponse) -> Void) -> URLSessionDataTask {
-        
-        let sessionConfiguration = URLSessionConfiguration.default
-        sessionConfiguration.httpAdditionalHeaders = self.createHeaderRequestToken(token)
-        
-        let sesion = URLSession.init(configuration: sessionConfiguration)
-        
-        let urlServicio = URL(string: "\(url)\(path)")
+    @discardableResult public class func doGETToURL(_ url : String, withPath path : String, withParameter parameters : Any?, withCompletion completion : @escaping (_ objResponse : CDMWebResponse) -> Void) -> URLSessionDataTask{
+        
+        let sessionConfiguration = URLSessionConfiguration.default
+        sessionConfiguration.httpAdditionalHeaders = self.createHeaderRequest()
+        
+        let sesion = URLSession.init(configuration: sessionConfiguration)
+        
+        let escapedUrlString = "\(url)/\(path)".addingPercentEncoding(withAllowedCharacters: .urlQueryAllowed)!
+        let urlServicio = URL(string: escapedUrlString)
         let request = NSMutableURLRequest(url: urlServicio!)
         request.addValue("application/json; charset=UTF-8", forHTTPHeaderField: "Content-Type")
         request.addValue("application/json", forHTTPHeaderField: "Accept")

    
    
    
    @discardableResult public class func doGETCookieToURL(_ url : String, withPath path : String, withParameter parameters : Any?, withCookie cookie : String, withCompletion completion : @escaping (_ objResponse : CDMWebResponse) -> Void) -> URLSessionDataTask  {
        
        let sessionConfiguration = URLSessionConfiguration.default
        sessionConfiguration.httpAdditionalHeaders = self.createHeaderRequestCookie(cookie)
        
        let sesion = URLSession.init(configuration: sessionConfiguration)
        
        let urlServicio = URL(string: "\(url)/\(path)")
        let request = NSMutableURLRequest(url: urlServicio!)
        request.addValue("application/json; charset=UTF-8", forHTTPHeaderField: "Content-Type")
        request.addValue("application/json", forHTTPHeaderField: "Accept")

    
    
    
    @discardableResult public class func doPUTToURL(_ url : String, withPath path : String, withParameter parameters : Any?, withCompletion completion : @escaping (_ objResponse : CDMWebResponse) -> Void) -> URLSessionDataTask {
        
        let sessionConfiguration = URLSessionConfiguration.default
        sessionConfiguration.httpAdditionalHeaders = self.createHeaderRequest()
        
        let sesion = URLSession.init(configuration: sessionConfiguration)
        
        let escapedUrlString = "\(url)/\(path)".addingPercentEncoding(withAllowedCharacters: .urlQueryAllowed)!
        let urlServicio = URL(string: escapedUrlString)
        let request = NSMutableURLRequest(url: urlServicio!)
        request.addValue("application/json; charset=UTF-8", forHTTPHeaderField: "Content-Type")
        request.addValue("application/json", forHTTPHeaderField: "Accept")
