# HttpClient

Angular's service for calling web APIs.

## What is **HttpClient**?

`HttpClient` is Angular's service for calling web APIs. Its methods (`get`, `post`, `put`, `delete`) return Observables with the response data.

```typescript
export class WeatherService {
  private http = inject(HttpClient);

  today(city: string) {
    return this.http.get<Forecast>(`/api/weather/${city}`);
  }
}
```

Level: Apprentice · [More Angular terms at this level](https://www.ask-codey.com/glossary?category=angular&level=2)

Updated: September 27, 2026

## In other subjects

- [HttpClient in C#](https://www.ask-codey.com/glossary/httpclient-c-sharp)

Source: https://www.ask-codey.com/glossary/httpclient
