The HttpClient Service

Let's explore the HttpClient service, which we will use to make API calls in our Angular applications.

The HttpClient service

In modern web applications, there are a number of ways to access an external API. As we are using Angular, we have to use what the browser gives us. Thankfully, modern browsers support two ways of reaching an API, which are as follows:

Get hands-on with 1400+ tech skills courses.