Submodule 22.3: Angular HTTP Client - Practice
In this submodule, you will learn to use the Angular HTTP client to make requests for data to a server and obtain and process the response. You will :
- Use Angular HTTP client to obtain data from a server
- Process the HTTP response from the server to retrieve the data and use it in your application.
We'll see how we can leverage the HTTP client which will return an observable to us. We have already reconfigured our application especially the service to be able to deliver observables to our components. And within our components, we are subscribing to these observables. So the major part of the setup for obtaining data from the service to the component is already there.