Angular 4 HTTP Get Example with Params

Опубликовано: 13 Март 2025
на канале: dotsway
67,294
382

Angular HTTP Service

In this Angular HTTP tutorial i will be showing you an example of how to create a simple text input which will accept a city name, then it will request the weather of that city from OpenWeatherMap free API service.

How to use the HTTP Get, How to use the subsccribe and how to pass parameters.

Create your first Angular project and use ngModel
   • Angular 4 QuickStart - Angular 4 Inst...  

ngModel
http://dotsway.com/2017/04/05/simple-...

Register your weather API
https://openweathermap.org/api