Selenium WebDriver Java Framework Course Limited Time Offer for $20

Selenium WebDriver Java Framework Course Limited Time Offer for $20

 

Print

Chrome REST Console Test RESTful API

In some cases, QA Engineers need to verify RESTful API results manually before working on automation code. There are many free tools available for testing RESTful api on the market. Chrome REST Console is a free tool to test various RESTful API. In this article, you will learn how to test Open Weather Forecast API with Chrome TEST Console. 

 

Step 1: open www.google.com site with Google Chrome. 

Step 2: type "Chrome Rest Client" in the search box. 

Step 3: click on the "REST Console - Chrome Web Store" to visit the "REST Console" in chrome web store. You can also directly visit chrome web store site "https://chrome.google.com/webstore/category/apps?hl=en" and search for the REST Console. 

Step 4: click on the "free" button to install it. If you have already installed it, you can click on the "LAUNCH APP" button to run it. 

Step 5: after installation, you can type the url "chrome-extension://cokgbflfommojglbmbpenpphppikmonn/index.html" in the Chrome navigation and open the Rest Console. You may have a different url depending on your PC configuration. You can also open it from Chrome Menu ->Tools -> Extensions -> REST Console or you can create  application shortcuts with Chrome Menu ->Tools -> Create application shortcuts. 

Step 6: navigate to the Open Weather Map site "http://openweathermap.org/current" to get Weather API information.  In this example, let's test the weather forecast api. See the given example by the API sample. 

Examples of forecast data for every 3 hours:
You can get weather forecast for 5 days with data for every 3 hours. All weather data can be obtained in JSON or XML format.

Call by city name at XML format api.openweathermap.org/data/2.5/forecast?q=London,us&mode=xml
Call by geographic coordinats at JSON format api.openweathermap.org/data/2.5/forecast?lat=35&lon=139
Call by city ID api.openweathermap.org/data/2.5/forecast?id=524901

Step 7: we can check the weather forecast for Baltimore,US with the API in the Chrome REST Console. After launching REST Console, input the following information as shown on the

picture below. 

In the target, enter the api url and select "application/json" for the Content-Type accept. 

http://api.openweathermap.org//data/2.5/forecast

Add Request Parameters in the Request Payload 

In the Response, select "JSON" for "Force Syntax Highlighting. 

Step 8: click on the GET button to get the response of the API. 

Step 9: see the response as shown below. 

 
{
    "cod": "200",
    "message": 0.2605,
    "city": {
        "id": 4347778,
        "name": "Baltimore",
        "coord": {
            "lon": -76.61219,
            "lat": 39.290379
        },
        "country": "US",
        "population": 0,
        "sys": {
            "population": 0
        }
    },
    "cnt": 39,
    "list": [{
        "dt": 1411333200,
        "main": {
            "temp": 297.87,
            "temp_min": 297.87,
            "temp_max": 301.535,
            "pressure": 1011.14,
            "sea_level": 1017.43,
            "grnd_level": 1011.14,
            "humidity": 55,
            "temp_kf": -3.67
        },
        "weather": [{
            "id": 800,
            "main": "Clear",
            "description": "sky is clear",
            "icon": "01d"
        }],
        "clouds": {
            "all": 0
        },
        "wind": {
            "speed": 4.02,
            "deg": 211.5
        },
        "sys": {
            "pod": "d"
        },
        "dt_txt": "2014-09-21 21:00:00"
    }, {
        "dt": 1411344000,
        "main": {
            "temp": 294.76,
            "temp_min": 294.76,
            "temp_max": 298.246,
            "pressure": 1012.69,
            "sea_level": 1018.82,
            "grnd_level": 1012.69,
            "humidity": 67,
            "temp_kf": -3.48
        },
        "weather": [{
            "id": 500,
            "main": "Rain",
            "description": "light rain",
            "icon": "10n"
        }],
        "clouds": {
            "all": 92
        },
        "wind": {
            "speed": 4.48,
            "deg": 256.5
        },
        "rain": {
            "3h": 0.5
        },
        "sys": {
            "pod": "n"
        },
        "dt_txt": "2014-09-22 00:00:00"
    }, {
        "dt": 1411354800,
        "main": {
            "temp": 292.25,
            "temp_min": 292.25,
            "temp_max": 295.544,
            "pressure": 1014.73,
            "sea_level": 1020.87,
            "grnd_level": 1014.73,
            "humidity": 71,
            "temp_kf": -3.3
        },
        "weather": [{
            "id": 500,
            "main": "Rain",
            "description": "light rain",
            "icon": "10n"
        }],
        "clouds": {
            "all": 48
        },
        "wind": {
            "speed": 4.37,
            "deg": 298.502
        },
        "rain": {
            "3h": 0.5
        },
        "sys": {
            "pod": "n"
        },
        "dt_txt": "2014-09-22 03:00:00"
    }, {
        "dt": 1411365600,
        "main": {
            "temp": 290.18,
            "temp_min": 290.18,
            "temp_max": 293.294,
            "pressure": 1016.42,
            "sea_level": 1022.61,
            "grnd_level": 1016.42,
            "humidity": 67,
            "temp_kf": -3.12
        },
        "weather": [{
            "id": 802,
            "main": "Clouds",
            "description": "scattered clouds",
            "icon": "03n"
        }],
        "clouds": {
            "all": 48
        },
        "wind": {
            "speed": 4.51,
            "deg": 298
        },
        "rain": {
            "3h": 0
        },
        "sys": {
            "pod": "n"
        },
        "dt_txt": "2014-09-22 06:00:00"
    }, {
        "dt": 1411376400,
        "main": {
            "temp": 287.55,
            "temp_min": 287.55,
            "temp_max": 290.478,
            "pressure": 1018.53,
            "sea_level": 1024.74,
            "grnd_level": 1018.53,
            "humidity": 67,
            "temp_kf": -2.93
        },
        "weather": [{
            "id": 800,
            "main": "Clear",
            "description": "sky is clear",
            "icon": "01n"
        }],
        "clouds": {
            "all": 0
        },
        "wind": {
            "speed": 3.91,
            "deg": 296.502
        },
        "rain": {
            "3h": 0
        },
        "sys": {
            "pod": "n"
        },
        "dt_txt": "2014-09-22 09:00:00"
    }, {
        "dt": 1411387200,
        "main": {
            "temp": 286.63,
            "temp_min": 286.63,
            "temp_max": 289.378,
            "pressure": 1021.2,
            "sea_level": 1027.47,
            "grnd_level": 1021.2,
            "humidity": 74,
            "temp_kf": -2.75
        },
        "weather": [{
            "id": 800,
            "main": "Clear",
            "description": "sky is clear",
            "icon": "01d"
        }],
        "clouds": {
            "all": 0
        },
        "wind": {
            "speed": 3.56,
            "deg": 303.501
        },
        "rain": {
            "3h": 0
        },
        "sys": {
            "pod": "d"
        },
        "dt_txt": "2014-09-22 12:00:00"
    }, {
        "dt": 1411398000,
        "main": {
            "temp": 290.16,
            "temp_min": 290.16,
            "temp_max": 292.728,
            "pressure": 1022.89,
            "sea_level": 1029.03,
            "grnd_level": 1022.89,
            "humidity": 67,
            "temp_kf": -2.57
        },
        "weather": [{
            "id": 800,
            "main": "Clear",
            "description": "sky is clear",
            "icon": "01d"
        }],
        "clouds": {
            "all": 0
        },
        "wind": {
            "speed": 4.81,
            "deg": 310.002
        },
        "rain": {
            "3h": 0
        },
        "sys": {
            "pod": "d"
        },
        "dt_txt": "2014-09-22 15:00:00"
    }, {
        "dt": 1411408800,
        "main": {
            "temp": 292.19,
            "temp_min": 292.19,
            "temp_max": 294.574,
            "pressure": 1023.09,
            "sea_level": 1029.44,
            "grnd_level": 1023.09,
            "humidity": 61,
            "temp_kf": -2.38
        },
        "weather": [{
            "id": 800,
            "main": "Clear",
            "description": "sky is clear",
            "icon": "01d"
        }],
        "clouds": {
            "all": 0
        },
        "wind": {
            "speed": 4.8,
            "deg": 311.508
        },
        "rain": {
            "3h": 0
        },
        "sys": {
            "pod": "d"
        },
        "dt_txt": "2014-09-22 18:00:00"
    }, {
        "dt": 1411419600,
        "main": {
            "temp": 292.86,
            "temp_min": 292.86,
            "temp_max": 295.057,
            "pressure": 1023.38,
            "sea_level": 1029.63,
            "grnd_level": 1023.38,
            "humidity": 52,
            "temp_kf": -2.2
        },
        "weather": [{
            "id": 800,
            "main": "Clear",
            "description": "sky is clear",
            "icon": "01d"
        }],
        "clouds": {
            "all": 0
        },
        "wind": {
            "speed": 4.56,
            "deg": 314.004
        },
        "rain": {
            "3h": 0
        },
        "sys": {
            "pod": "d"
        },
        "dt_txt": "2014-09-22 21:00:00"
    }, {
        "dt": 1411430400,
        "main": {
            "temp": 288.88,
            "temp_min": 288.88,
            "temp_max": 290.895,
            "pressure": 1025.96,
            "sea_level": 1032.19,
            "grnd_level": 1025.96,
            "humidity": 55,
            "temp_kf": -2.02
        },
        "weather": [{
            "id": 800,
            "main": "Clear",
            "description": "sky is clear",
            "icon": "01n"
        }],
        "clouds": {
            "all": 0
        },
        "wind": {
            "speed": 2.92,
            "deg": 312.002
        },
        "rain": {
            "3h": 0
        },
        "sys": {
            "pod": "n"
        },
        "dt_txt": "2014-09-23 00:00:00"
    }, {
        "dt": 1411441200,
        "main": {
            "temp": 286.89,
            "temp_min": 286.89,
            "temp_max": 288.721,
            "pressure": 1028.24,
            "sea_level": 1034.51,
            "grnd_level": 1028.24,
            "humidity": 58,
            "temp_kf": -1.83
        },
        "weather": [{
            "id": 800,
            "main": "Clear",
            "description": "sky is clear",
            "icon": "01n"
        }],
        "clouds": {
            "all": 0
        },
        "wind": {
            "speed": 3.92,
            "deg": 329.511
        },
        "rain": {
            "3h": 0
        },
        "sys": {
            "pod": "n"
        },
        "dt_txt": "2014-09-23 03:00:00"
    }, {
        "dt": 1411452000,
        "main": {
            "temp": 285.22,
            "temp_min": 285.22,
            "temp_max": 286.868,
            "pressure": 1029.62,
            "sea_level": 1036.01,
            "grnd_level": 1029.62,
            "humidity": 66,
            "temp_kf": -1.65
        },
        "weather": [{
            "id": 800,
            "main": "Clear",
            "description": "sky is clear",
            "icon": "01n"
        }],
        "clouds": {
            "all": 0
        },
        "wind": {
            "speed": 3.56,
            "deg": 334.003
        },
        "rain": {
            "3h": 0
        },
        "sys": {
            "pod": "n"
        },
        "dt_txt": "2014-09-23 06:00:00"
    }, {
        "dt": 1411462800,
        "main": {
            "temp": 283.43,
            "temp_min": 283.43,
            "temp_max": 284.896,
            "pressure": 1031.13,
            "sea_level": 1037.54,
            "grnd_level": 1031.13,
            "humidity": 74,
            "temp_kf": -1.47
        },
        "weather": [{
            "id": 800,
            "main": "Clear",
            "description": "sky is clear",
            "icon": "01n"
        }],
        "clouds": {
            "all": 0
        },
        "wind": {
            "speed": 2.96,
            "deg": 340.001
        },
        "rain": {
            "3h": 0
        },
        "sys": {
            "pod": "n"
        },
        "dt_txt": "2014-09-23 09:00:00"
    }, {
        "dt": 1411473600,
        "main": {
            "temp": 283.32,
            "temp_min": 283.32,
            "temp_max": 284.598,
            "pressure": 1032.76,
            "sea_level": 1039.28,
            "grnd_level": 1032.76,
            "humidity": 80,
            "temp_kf": -1.28
        },
        "weather": [{
            "id": 800,
            "main": "Clear",
            "description": "sky is clear",
            "icon": "01d"
        }],
        "clouds": {
            "all": 0
        },
        "wind": {
            "speed": 2.36,
            "deg": 343.003
        },
        "rain": {
            "3h": 0
        },
        "sys": {
            "pod": "d"
        },
        "dt_txt": "2014-09-23 12:00:00"
    }, {
        "dt": 1411484400,
        "main": {
            "temp": 289.75,
            "temp_min": 289.75,
            "temp_max": 290.853,
            "pressure": 1033.89,
            "sea_level": 1040.32,
            "grnd_level": 1033.89,
            "humidity": 68,
            "temp_kf": -1.1
        },
        "weather": [{
            "id": 800,
            "main": "Clear",
            "description": "sky is clear",
            "icon": "01d"
        }],
        "clouds": {
            "all": 0
        },
        "wind": {
            "speed": 2.66,
            "deg": 0.500153
        },
        "rain": {
            "3h": 0
        },
        "sys": {
            "pod": "d"
        },
        "dt_txt": "2014-09-23 15:00:00"
    }, {
        "dt": 1411495200,
        "main": {
            "temp": 292.38,
            "temp_min": 292.38,
            "temp_max": 293.292,
            "pressure": 1033.4,
            "sea_level": 1039.81,
            "grnd_level": 1033.4,
            "humidity": 65,
            "temp_kf": -0.92
        },
        "weather": [{
            "id": 800,
            "main": "Clear",
            "description": "sky is clear",
            "icon": "01d"
        }],
        "clouds": {
            "all": 0
        },
        "wind": {
            "speed": 1.77,
            "deg": 17.0062
        },
        "rain": {
            "3h": 0
        },
        "sys": {
            "pod": "d"
        },
        "dt_txt": "2014-09-23 18:00:00"
    }, {
        "dt": 1411506000,
        "main": {
            "temp": 293.36,
            "temp_min": 293.36,
            "temp_max": 294.094,
            "pressure": 1033.18,
            "sea_level": 1039.41,
            "grnd_level": 1033.18,
            "humidity": 56,
            "temp_kf": -0.73
        },
        "weather": [{
            "id": 800,
            "main": "Clear",
            "description": "sky is clear",
            "icon": "01d"
        }],
        "clouds": {
            "all": 0
        },
        "wind": {
            "speed": 1.68,
            "deg": 20.0004
        },
        "rain": {
            "3h": 0
        },
        "sys": {
            "pod": "d"
        },
        "dt_txt": "2014-09-23 21:00:00"
    }, {
        "dt": 1411516800,
        "main": {
            "temp": 288.85,
            "temp_min": 288.85,
            "temp_max": 289.4,
            "pressure": 1034.02,
            "sea_level": 1040.29,
            "grnd_level": 1034.02,
            "humidity": 66,
            "temp_kf": -0.55
        },
        "weather": [{
            "id": 800,
            "main": "Clear",
            "description": "sky is clear",
            "icon": "01n"
        }],
        "clouds": {
            "all": 0
        },
        "wind": {
            "speed": 1.75,
            "deg": 24.0037
        },
        "rain": {
            "3h": 0
        },
        "sys": {
            "pod": "n"
        },
        "dt_txt": "2014-09-24 00:00:00"
    }, {
        "dt": 1411527600,
        "main": {
            "temp": 286.43,
            "temp_min": 286.43,
            "temp_max": 286.799,
            "pressure": 1035.19,
            "sea_level": 1041.67,
            "grnd_level": 1035.19,
            "humidity": 80,
            "temp_kf": -0.37
        },
        "weather": [{
            "id": 800,
            "main": "Clear",
            "description": "sky is clear",
            "icon": "01n"
        }],
        "clouds": {
            "all": 0
        },
        "wind": {
            "speed": 2.37,
            "deg": 36.5063
        },
        "rain": {
            "3h": 0
        },
        "sys": {
            "pod": "n"
        },
        "dt_txt": "2014-09-24 03:00:00"
    }, {
        "dt": 1411538400,
        "main": {
            "temp": 285.02,
            "temp_min": 285.02,
            "temp_max": 285.208,
            "pressure": 1035.84,
            "sea_level": 1042.39,
            "grnd_level": 1035.84,
            "humidity": 90,
            "temp_kf": -0.18
        },
        "weather": [{
            "id": 800,
            "main": "Clear",
            "description": "sky is clear",
            "icon": "01n"
        }],
        "clouds": {
            "all": 0
        },
        "wind": {
            "speed": 1.97,
            "deg": 47.5001
        },
        "rain": {
            "3h": 0
        },
        "sys": {
            "pod": "n"
        },
        "dt_txt": "2014-09-24 06:00:00"
    }, {
        "dt": 1411549200,
        "main": {
            "temp": 285.398,
            "temp_min": 285.398,
            "temp_max": 285.398,
            "pressure": 1036.43,
            "sea_level": 1042.99,
            "grnd_level": 1036.43,
            "humidity": 90
        },
        "weather": [{
            "id": 800,
            "main": "Clear",
            "description": "sky is clear",
            "icon": "01n"
        }],
        "clouds": {
            "all": 0
        },
        "wind": {
            "speed": 2.57,
            "deg": 58.0017
        },
        "rain": {
            "3h": 0
        },
        "sys": {
            "pod": "n"
        },
        "dt_txt": "2014-09-24 09:00:00"
    }, {
        "dt": 1411560000,
        "main": {
            "temp": 287.081,
            "temp_min": 287.081,
            "temp_max": 287.081,
            "pressure": 1037.87,
            "sea_level": 1044.3,
            "grnd_level": 1037.87,
            "humidity": 90
        },
        "weather": [{
            "id": 800,
            "main": "Clear",
            "description": "sky is clear",
            "icon": "01d"
        }],
        "clouds": {
            "all": 0
        },
        "wind": {
            "speed": 2.67,
            "deg": 58.5021
        },
        "rain": {
            "3h": 0
        },
        "sys": {
            "pod": "d"
        },
        "dt_txt": "2014-09-24 12:00:00"
    }, {
        "dt": 1411570800,
        "main": {
            "temp": 294.482,
            "temp_min": 294.482,
            "temp_max": 294.482,
            "pressure": 1038.88,
            "sea_level": 1045.27,
            "grnd_level": 1038.88,
            "humidity": 65
        },
        "weather": [{
            "id": 800,
            "main": "Clear",
            "description": "sky is clear",
            "icon": "01d"
        }],
        "clouds": {
            "all": 0
        },
        "wind": {
            "speed": 3.67,
            "deg": 72.0015
        },
        "rain": {
            "3h": 0
        },
        "sys": {
            "pod": "d"
        },
        "dt_txt": "2014-09-24 15:00:00"
    }, {
        "dt": 1411581600,
        "main": {
            "temp": 295.996,
            "temp_min": 295.996,
            "temp_max": 295.996,
            "pressure": 1037.84,
            "sea_level": 1044.12,
            "grnd_level": 1037.84,
            "humidity": 58
        },
        "weather": [{
            "id": 801,
            "main": "Clouds",
            "description": "few clouds",
            "icon": "02d"
        }],
        "clouds": {
            "all": 12
        },
        "wind": {
            "speed": 4.57,
            "deg": 81.5041
        },
        "rain": {
            "3h": 0
        },
        "sys": {
            "pod": "d"
        },
        "dt_txt": "2014-09-24 18:00:00"
    }, {
        "dt": 1411592400,
        "main": {
            "temp": 295.848,
            "temp_min": 295.848,
            "temp_max": 295.848,
            "pressure": 1036.97,
            "sea_level": 1043.28,
            "grnd_level": 1036.97,
            "humidity": 55
        },
        "weather": [{
            "id": 800,
            "main": "Clear",
            "description": "sky is clear",
            "icon": "01d"
        }],
        "clouds": {
            "all": 0
        },
        "wind": {
            "speed": 5.01,
            "deg": 93.0029
        },
        "rain": {
            "3h": 0
        },
        "sys": {
            "pod": "d"
        },
        "dt_txt": "2014-09-24 21:00:00"
    }, {
        "dt": 1411603200,
        "main": {
            "temp": 292.682,
            "temp_min": 292.682,
            "temp_max": 292.682,
            "pressure": 1037.05,
            "sea_level": 1043.35,
            "grnd_level": 1037.05,
            "humidity": 63
        },
        "weather": [{
            "id": 800,
            "main": "Clear",
            "description": "sky is clear",
            "icon": "01n"
        }],
        "clouds": {
            "all": 0
        },
        "wind": {
            "speed": 4.36,
            "deg": 88.5003
        },
        "rain": {
            "3h": 0
        },
        "sys": {
            "pod": "n"
        },
        "dt_txt": "2014-09-25 00:00:00"
    }, {
        "dt": 1411614000,
        "main": {
            "temp": 290.962,
            "temp_min": 290.962,
            "temp_max": 290.962,
            "pressure": 1036.42,
            "sea_level": 1042.92,
            "grnd_level": 1036.42,
            "humidity": 76
        },
        "weather": [{
            "id": 800,
            "main": "Clear",
            "description": "sky is clear",
            "icon": "01n"
        }],
        "clouds": {
            "all": 0
        },
        "wind": {
            "speed": 4.07,
            "deg": 75.5025
        },
        "rain": {
            "3h": 0
        },
        "sys": {
            "pod": "n"
        },
        "dt_txt": "2014-09-25 03:00:00"
    }, {
        "dt": 1411624800,
        "main": {
            "temp": 290.556,
            "temp_min": 290.556,
            "temp_max": 290.556,
            "pressure": 1035.29,
            "sea_level": 1041.61,
            "grnd_level": 1035.29,
            "humidity": 82
        },
        "weather": [{
            "id": 803,
            "main": "Clouds",
            "description": "broken clouds",
            "icon": "04n"
        }],
        "clouds": {
            "all": 56
        },
        "wind": {
            "speed": 4.02,
            "deg": 58.5004
        },
        "rain": {
            "3h": 0
        },
        "sys": {
            "pod": "n"
        },
        "dt_txt": "2014-09-25 06:00:00"
    }, {
        "dt": 1411635600,
        "main": {
            "temp": 290.191,
            "temp_min": 290.191,
            "temp_max": 290.191,
            "pressure": 1034.11,
            "sea_level": 1040.58,
            "grnd_level": 1034.11,
            "humidity": 85
        },
        "weather": [{
            "id": 800,
            "main": "Clear",
            "description": "sky is clear",
            "icon": "01n"
        }],
        "clouds": {
            "all": 0
        },
        "wind": {
            "speed": 4.27,
            "deg": 52.0008
        },
        "rain": {
            "3h": 0
        },
        "sys": {
            "pod": "n"
        },
        "dt_txt": "2014-09-25 09:00:00"
    }, {
        "dt": 1411646400,
        "main": {
            "temp": 290.551,
            "temp_min": 290.551,
            "temp_max": 290.551,
            "pressure": 1034.32,
            "sea_level": 1040.69,
            "grnd_level": 1034.32,
            "humidity": 85
        },
        "weather": [{
            "id": 803,
            "main": "Clouds",
            "description": "broken clouds",
            "icon": "04d"
        }],
        "clouds": {
            "all": 56
        },
        "wind": {
            "speed": 4.52,
            "deg": 50.0041
        },
        "rain": {
            "3h": 0
        },
        "sys": {
            "pod": "d"
        },
        "dt_txt": "2014-09-25 12:00:00"
    }, {
        "dt": 1411657200,
        "main": {
            "temp": 294.964,
            "temp_min": 294.964,
            "temp_max": 294.964,
            "pressure": 1033.81,
            "sea_level": 1040.25,
            "grnd_level": 1033.81,
            "humidity": 69
        },
        "weather": [{
            "id": 802,
            "main": "Clouds",
            "description": "scattered clouds",
            "icon": "03d"
        }],
        "clouds": {
            "all": 32
        },
        "wind": {
            "speed": 4.91,
            "deg": 51.0011
        },
        "rain": {
            "3h": 0
        },
        "sys": {
            "pod": "d"
        },
        "dt_txt": "2014-09-25 15:00:00"
    }, {
        "dt": 1411668000,
        "main": {
            "temp": 297.271,
            "temp_min": 297.271,
            "temp_max": 297.271,
            "pressure": 1032.12,
            "sea_level": 1038.37,
            "grnd_level": 1032.12,
            "humidity": 64
        },
        "weather": [{
            "id": 801,
            "main": "Clouds",
            "description": "few clouds",
            "icon": "02d"
        }],
        "clouds": {
            "all": 24
        },
        "wind": {
            "speed": 5.25,
            "deg": 58.0013
        },
        "rain": {
            "3h": 0
        },
        "sys": {
            "pod": "d"
        },
        "dt_txt": "2014-09-25 18:00:00"
    }, {
        "dt": 1411678800,
        "main": {
            "temp": 296.548,
            "temp_min": 296.548,
            "temp_max": 296.548,
            "pressure": 1030.64,
            "sea_level": 1036.92,
            "grnd_level": 1030.64,
            "humidity": 62
        },
        "weather": [{
            "id": 802,
            "main": "Clouds",
            "description": "scattered clouds",
            "icon": "03d"
        }],
        "clouds": {
            "all": 44
        },
        "wind": {
            "speed": 4.75,
            "deg": 52.5075
        },
        "rain": {
            "3h": 0
        },
        "sys": {
            "pod": "d"
        },
        "dt_txt": "2014-09-25 21:00:00"
    }, {
        "dt": 1411689600,
        "main": {
            "temp": 294.001,
            "temp_min": 294.001,
            "temp_max": 294.001,
            "pressure": 1030.5,
            "sea_level": 1036.78,
            "grnd_level": 1030.5,
            "humidity": 69
        },
        "weather": [{
            "id": 801,
            "main": "Clouds",
            "description": "few clouds",
            "icon": "02n"
        }],
        "clouds": {
            "all": 12
        },
        "wind": {
            "speed": 3.77,
            "deg": 39.0022
        },
        "sys": {
            "pod": "n"
        },
        "dt_txt": "2014-09-26 00:00:00"
    }, {
        "dt": 1411700400,
        "main": {
            "temp": 291.514,
            "temp_min": 291.514,
            "temp_max": 291.514,
            "pressure": 1030.37,
            "sea_level": 1036.66,
            "grnd_level": 1030.37,
            "humidity": 80
        },
        "weather": [{
            "id": 800,
            "main": "Clear",
            "description": "sky is clear",
            "icon": "01n"
        }],
        "clouds": {
            "all": 0
        },
        "wind": {
            "speed": 3.33,
            "deg": 39.0031
        },
        "sys": {
            "pod": "n"
        },
        "dt_txt": "2014-09-26 03:00:00"
    }, {
        "dt": 1411711200,
        "main": {
            "temp": 289.107,
            "temp_min": 289.107,
            "temp_max": 289.107,
            "pressure": 1029.26,
            "sea_level": 1035.64,
            "grnd_level": 1029.26,
            "humidity": 91
        },
        "weather": [{
            "id": 800,
            "main": "Clear",
            "description": "sky is clear",
            "icon": "01n"
        }],
        "clouds": {
            "all": 0
        },
        "wind": {
            "speed": 2.75,
            "deg": 24.0004
        },
        "sys": {
            "pod": "n"
        },
        "dt_txt": "2014-09-26 06:00:00"
    }, {
        "dt": 1411722000,
        "main": {
            "temp": 287.485,
            "temp_min": 287.485,
            "temp_max": 287.485,
            "pressure": 1028.49,
            "sea_level": 1034.96,
            "grnd_level": 1028.49,
            "humidity": 93
        },
        "weather": [{
            "id": 800,
            "main": "Clear",
            "description": "sky is clear",
            "icon": "01n"
        }],
        "clouds": {
            "all": 0
        },
        "wind": {
            "speed": 2.91,
            "deg": 2.00491
        },
        "sys": {
            "pod": "n"
        },
        "dt_txt": "2014-09-26 09:00:00"
    }, {
        "dt": 1411732800,
        "main": {
            "temp": 287.556,
            "temp_min": 287.556,
            "temp_max": 287.556,
            "pressure": 1028.89,
            "sea_level": 1035.36,
            "grnd_level": 1028.89,
            "humidity": 85
        },
        "weather": [{
            "id": 800,
            "main": "Clear",
            "description": "sky is clear",
            "icon": "01d"
        }],
        "clouds": {
            "all": 0
        },
        "wind": {
            "speed": 3.56,
            "deg": 2.00192
        },
        "sys": {
            "pod": "d"
        },
        "dt_txt": "2014-09-26 12:00:00"
    }, {
        "dt": 1411743600,
        "main": {
            "temp": 294.344,
            "temp_min": 294.344,
            "temp_max": 294.344,
            "pressure": 1028.99,
            "sea_level": 1035.43,
            "grnd_level": 1028.99,
            "humidity": 64
        },
        "weather": [{
            "id": 800,
            "main": "Clear",
            "description": "sky is clear",
            "icon": "01d"
        }],
        "clouds": {
            "all": 0
        },
        "wind": {
            "speed": 3.87,
            "deg": 16.5012
        },
        "sys": {
            "pod": "d"
        },
        "dt_txt": "2014-09-26 15:00:00"
    }]
}

as shown above, the api returned weather forecast data. You can use the Chrome REST Console to test other RESTFul API.