Esempio n. 1
0
        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);
        }