mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
250f60227f
PR Close #49429
1.2 KiB
1.2 KiB
Understanding communicating with backend services using HTTP
Most front-end applications need to communicate with a server over the HTTP protocol, to download or upload data and access other back-end services. Angular provides a client HTTP API for Angular applications, the HttpClient service class in @angular/common/http.
Prerequisites
Before working with the HttpClientModule, you should have a basic understanding of the following:
- TypeScript programming
- Usage of the HTTP protocol
- Angular application-design fundamentals, as described in Angular Concepts
- Observable techniques and operators. See the Observables guide.
HTTP client service features
The HTTP client service offers the following major features.
- The ability to request typed response objects
- Streamlined error handling
- Testability features
- Request and response interception
What's next
@reviewed 2023-03-14