Skip to Main Content
Angular Development with TypeScript, Second Edition
book

Angular Development with TypeScript, Second Edition

by Anton Moiseev, Yakov Fain
December 2018
Intermediate to advanced content levelIntermediate to advanced
560 pages
18h 45m
English
Manning Publications
Content preview from Angular Development with TypeScript, Second Edition

Chapter 12. Interacting with servers using HTTP

This chapter covers

  • Working with the HttpClient service
  • Creating a simple web server using the Node and Express frameworks
  • Developing an Angular client that communicates with the Node server
  • Intercepting HTTP requests and responses

Angular applications can communicate with any web server supporting HTTP, regardless of what server-side platform is used. In this chapter, we’ll show you how to use the HttpClient service offered by Angular. You’ll see how to make HTTP GET and POST methods with HttpClient. And you’ll learn how to intercept HTTP requests to implement cross-cutting concerns, such as global error handling.

This chapter starts with a brief overview of Angular’s HttpClient service, and ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Angular with TypeScript

Angular with TypeScript

Matt Thornfield
Angular (Full App) with Angular Material, Angularfire and NgRx

Angular (Full App) with Angular Material, Angularfire and NgRx

Academind by Maximilian Schwarzmüller GmbH
Angular in Action

Angular in Action

Jeremy Wilken

Publisher Resources

ISBN: 9781617295348Supplemental ContentPublisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link