HttpClient

HttpClient is Angular's service for sending HTTP requests (get, post, put, delete). Each method returns a typed Observable, activated on subscription or via the async pipe. Interceptors let you add headers or handle errors centrally.

Example

this.http.get<Tache[]>('/api/taches')

Related concepts

The whole glossary