Skip to content
JS

Learn HTTP in Angular

Course on egghead by Juri Strumpflohner

View on egghead (opens in a new tab)
42 min
LengthVideo runtime
Subscription
Price modelegghead plan
11
Lessons
5.0
Rating out of 54 ratings on egghead
Dec 2017
Published18 Dec 2017

About this course

Description from egghead

Client-server communication is at the heart of any modern web application. In this course we will take a look at how to communicate with your backend API in Angular, specifically with the new Http module( @angular/common/http ) introduced and used in Angular 4.3.1 and later. We will learn how to configure the HttpClientModule , how to fetch and send data, customize HTTP headers that are being sent and how to properly handle error responses. We will also take a look at some more advanced use cases such as listening to progress events and intercepting HTTP calls. Finally we will also learn how to isolate and mock HTTP calls in automated unit tests.

What it covers

11 lessons
  1. 1Fetch Data from an API using the HttpClient in Angular
  2. 2Send Data via HTTP using Angular HttpParams
  3. 3Handle HTTP Errors in Angular with HttpErrorResponse
  4. 4Retry Failed Requests with RxJS and the HttpClient in Angular
  5. 5Set Metadata in HTTP Headers with Angular HttpHeaders
  6. 6Read Custom HTTP Headers Sent by the Server in Angular
  7. 7Fetch non-JSON data by specifying HttpClient responseType in Angular
  8. 8Type Check an Http Response using the Angular HttpClient and TypeScript
  9. 9 Provide Feedback to Progress Events with Angular’s HttpRequest Object
  10. 10Intercept HTTP Requests with Angular’s HttpInterceptor
  11. 11Mock HTTP Requests made with Angular’s HttpClient in Unit Tests

Similar Angular courses

  1. Getting Started with Angular Elements

    egghead · Juri Strumpflohner · 9 lessons · 4.6 from 7 ratings · Feb 2019

    41 minSubscription
    egghead94.6 (7)Feb 2019
  2. Angular Service Injection with the Dependency Injector (DI)

    egghead · Juri Strumpflohner · 12 lessons · 5.0 from 1 ratings · Mar 2018

    36 minSubscription
    egghead125.0 (1)Mar 2018
  3. Advanced Angular Component Patterns

    egghead · Isaac Mann · 9 lessons · 4.5 from 24 ratings · Oct 2018

    32 minSubscription
    egghead94.5 (24)Oct 2018
  4. Intermediate1 h
    CourseraJul 2024
  5. The Psychology of Code Testability

    Master.dev · Miško Hevery · 6 lessons · Feb 2012

    1 h 2 minSubscription
    Master.dev6Feb 2012
  6. The 80/20 Rule - Build a strong AngularJS Foundation

    Master.dev · Lukas Ruebbelke · 2 lessons · Aug 2014

    17 minFree
    Master.dev2Aug 2014
  7. Server Side integration with AngularJS

    Master.dev · Lukas Ruebbelke · 2 lessons · Aug 2014

    15 minFree
    Master.dev2Aug 2014
  8. Angular.js for Beginners: Directives

    Coursera · Shineta Horton, M. Ed · Jun 2023

    Beginner1 h 30 min
    CourseraJun 2023

A hyphen means the provider's catalogue does not state the value.

Same topic, nearest in length, up to three from any one provider.

Data read from the egghead catalogue on 28 Nov 2026. How the data is collected.

    Compare