Angular 自帶有http模塊可以方便的進行Http請求。 ... 發起一個get請求 this.http.get('/api/people/1').subscribe(json => console.log(json)); } }.
確定! 回上一頁