In Postman tool, we can call Weather API as mentioned below..
Method: GET
API URL: http://api.openweathermap.org/data/2.5/weather?q=Pondicherry&appid=9de243494c0b295cca9337e1e96b00e2
by adding Params
Method: GET
API URL: http://api.openweathermap.org/data/2.5/weather?q=Pondicherry&appid=9de243494c0b295cca9337e1e96b00e2
by adding Params
- q - Pondicherry (City name)
- appid - 9de243494c0b295cca9337e1e96b00e2 (Register in openweathermap.org and get your own API ID)
No comments:
Post a Comment