mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2026-10-28 02:43:08 +08:00
* refactor: clean to roadmap content * refactor: move shared helpers into scripts/lib
619 B
619 B
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: