Learn HTTP in Angular

0
Level

Advanced

Language

Access

Free

Certificate

Free

Learn how to communicate with your backend API in Angular using the new Http module. Fetch and send data, customize HTTP headers, handle errors, and more. This course covers advanced topics like progress events and intercepting HTTP calls. Also, discover how to isolate and mock HTTP calls in unit tests. Improve your Angular skills today!

Add your review

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(

) introduced and used in Angular

and later.

We will learn how to configure the

, 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.

Course Content

Fetch Data from an API using the HttpClient in Angular

Send Data via HTTP using Angular HttpParams

Handle HTTP Errors in Angular with HttpErrorResponse

Retry Failed Requests with RxJS and the HttpClient in Angular

Set Metadata in HTTP Headers with Angular HttpHeaders

Read Custom HTTP Headers Sent by the Server in Angular

Fetch non-JSON data by specifying HttpClient responseType in Angular

Type Check an Http Response using the Angular HttpClient and TypeScript

Provide Feedback to Progress Events with Angular’s HttpRequest Object

Intercept HTTP Requests with Angular’s HttpInterceptor

Mock HTTP Requests made with Angular’s HttpClient in Unit Tests

User Reviews

0.0 out of 5
0
0
0
0
0
Write a review

There are no reviews yet.

Be the first to review “Learn HTTP in Angular”

×

    Your Email (required)

    Report this page
    LiveTalent.org
    Logo
    LiveTalent.org
    Privacy Overview

    This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.