public string Get(string path, string acceptType) { support.LogRequest("GET", path); byte[] responseBytes = HttpMethods.GetHttpJson(apiToken, path, acceptType); return(Converter.ToString(responseBytes)); }
public DownloadedFile GetBytes(string path, string acceptType) { support.LogRequest("GET", path); if (proxyConfiguration != null) { HttpMethods.proxyConfiguration = proxyConfiguration; } return(HttpMethods.GetHttpJson(apiToken, path, acceptType, additionalHeaders)); }
public DownloadedFile GetBytes(string path, string acceptType) { support.LogRequest("GET", path); if (proxyConfiguration != null) { HttpMethods.ProxyConfiguration = proxyConfiguration; } return(HttpMethods.GetHttpJson(apiKey, path, acceptType, SetupAuthorization(null))); }
public string Get(string path) { support.LogRequest("GET", path); byte[] responseBytes = HttpMethods.GetHttpJson(apiToken, path, "application/json"); string response = Converter.ToString(responseBytes); support.LogResponse(response); return(response); }
public string Get(string path, string acceptType) { support.LogRequest("GET", path); if (proxyConfiguration != null) { HttpMethods.proxyConfiguration = proxyConfiguration; } byte[] responseBytes = HttpMethods.GetHttpJson(apiToken, path, acceptType); return(Converter.ToString(responseBytes)); }
public string Get(string path, string acceptType) { support.LogRequest("GET", path); if (proxyConfiguration != null) { HttpMethods.ProxyConfiguration = proxyConfiguration; } DownloadedFile responseBytes = HttpMethods.GetHttpJson(apiKey, path, acceptType, SetupAuthorization(null)); return(Converter.ToString(responseBytes)); }
public string Get(string path) { support.LogRequest("GET", path); if (proxyConfiguration != null) { HttpMethods.proxyConfiguration = proxyConfiguration; } DownloadedFile responseBytes = HttpMethods.GetHttpJson(apiToken, path, HttpMethods.ESL_ACCEPT_TYPE_APPLICATION_JSON, additionalHeaders); string response = Converter.ToString(responseBytes); support.LogResponse(response); return(response); }