How do I get current weather data via OpenWeather REST API? [JavaScript/AJAX Code]

An example of getting the current weather data for a selected city via a free REST API weather service. Public weather REST API service provided by OpenWeatherMap.org. The weather REST API key and city name are passed as URL parameters. The weather REST API service can be requested with HTTP GET requests. The JavaScript/AJAX code was automatically generated for the Weather REST API example.
Loading...