1 import { HttpClient } from '@angular/common/http';
2 import { Injectable } from '@angular/core';
4 import { ApiModule } from './api.module';
9 export class MonitorService {
10 constructor(private http: HttpClient) {}
13 return this.http.get('api/monitor');