Angular provides the HttpClient
in @angular/common/http
for front-end applications communicate with backend services. In the tutorial, we show how to build an Angular application that uses the HttpClient
to make get/post/put/delete
requests with Observable
apis to SpringBoot RestAPIs.
Related posts:
- Angular 6 Service – with Observable Data for Asynchronous Operation
- Angular 6 Routing/Navigation – with Angular Router Service
- Angular 6 Template Driven Form – NgModel for Two-Way Data Binding
Technologies
- Java 1.8
- Maven 3.3.9
- Spring Tool Suite – Version 3.9.4.RELEASE
- Spring Boot: 2.0.3.RELEASE
- Angular 6
- RxJS 6
- Bootstrap 4
- Visual Studio Code – version 1.24.0
Overview
Goals
We create 2 projects:
- Angular Client Project:
- SpringBoot Server Project:
Overview
UserCase
Top comments (0)