mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-08-13 20:54:16 +02:00
docs(angular): add setting up http client content (#6525)
This commit is contained in:
@@ -1 +1,8 @@
|
|||||||
# Setting Up the Client
|
# Setting Up the Client
|
||||||
|
|
||||||
|
Before you can use `HttpClient` in your app, you must configure it using dependency injection. `HttpClient` is provided using the `provideHttpClient` helper function, which most apps include in the application providers in `app.config.ts`. If your app is using NgModule-based bootstrap instead, you can include `provideHttpClient` in the providers of your app's `NgModule`.
|
||||||
|
|
||||||
|
Visit the following resources to learn more:
|
||||||
|
|
||||||
|
- [@official@Angular Official Docs - Setting up HttpClient](https://angular.dev/guide/http/setup)
|
||||||
|
- [@video@Setting up HttpClient in Angular (NgModule)](https://www.youtube.com/watch?v=hBFtim1vO3M)
|
Reference in New Issue
Block a user