Пример #1
0
        public string XmlToJson(string xmlString)
        {
            var query = new HttpValueCollection();

            query[nameof(xmlString)] = xmlString;
            var address = this.xmlToJsonServiceName + query.ToString();
            var content = getContent <string>(address);

            return(content);
        }
Пример #2
0
        public BigInteger Fibonacci(int index)
        {
            var query = new HttpValueCollection();

            query[nameof(index)] = index.ToString();
            var address = this.fibonnacciServiceName + query.ToString();

            var content = getContent <int>(address);

            return(content);
        }