private async fetchData(){ const data = await this.httpClient.get(this.apiUrl).toPromise(); console.log("Data: " + JSON.stringify(data)); }