
Angular Http
This covers Angular's HttpClient for API calls, interceptors, and error handling in Angular 21. You get functional interceptors instead of the old class-based approach, plus new features like native fetch support and HttpContext tokens for per-request metadata. The examples show auth patterns, retry logic with backoff, and proper TypeScript typing for responses. Worth noting the migration path from deprecated class interceptors to the modern functional style, which is cleaner and works better with Angular's dependency injection. If you're building anything that talks to a backend in Angular, this has the patterns you'll actually use.
- skills.sh installs
- 185
- GitHub stars
- 7
- last updated
- Aug 21, 2026
Install
$ npx -y skills add oguzhan18/angular-ecosystem-skills --skill angular-http --agent claude-codeInstalls into .claude/skills of the current project.
Files
@angular/common/http
Version: Angular 21 (2025) Tags: HTTP, REST, API, Interceptors
References: HttpClient • API • Interceptors
API Changes
This section documents recent version-specific API changes.
-
NEW: Functional interceptors — Use
provideHttpClient(withInterceptors([...]))for modern interceptor setup source -
NEW:
withFetch— Use native fetch API with HttpClient source -
NEW:
withInterceptorsFromDi— Legacy interceptor support with functional approach -
NEW: HttpContext tokens — Per-request metadata using HttpContextToken
-
NEW:
AbortSignalsupport — Request cancellation with timeout support -
DEPRECATED: Class-based HttpInterceptor — Migrate to functional interceptors
Best Practices
- Use functional interceptors
Sponsors
Details
- Repository
- github.com/oguzhan18/angular-ecosystem-skills
- Categories
- Frontend Development, Backend & APIs, Debugging
- First seen
- Jun 3, 2026
More from oguzhan18/angular-ecosystem-skills
All 45- Angular Guards184
- Angular Interceptors184
- Angular Schematics184
- Angular Components182
- Angular Destroyref182
- Angular Forms182
- Angular Pipes180
- Angular Resolvers179
- Angular Deferrable178
- Angular Resource178
- Angular Signals178
- Angular Signals Forms178
- Angular Reactive177
- Angular Directives176
- Angular Lifecycle176
- Angular Di175
- Angular Viewchild174
- Angular Cypress172
- Angular Router172
- Angular Control Flow170
- Angular Zoneless170
- Nx170
- Angular Signals Http169
- Angular Ssr168