예제 #1
0
        public void JsonTest()
        {
            var request  = new RequestObject("http://api.openweathermap.org/data/2.5/weather?q=wentzville&appid=0ee6f4c510be459cbe54d01cf30b0366", Method.GET);
            var response = request.ExecuteAndGetJson();

            Assert.AreEqual("Wentzville", response.GetValue("name").ToString(), "API response name node values didn't match.");
        }