updateHero - makes a PUT request to the server and returns and Observable of the updated hero. Don't forget to import the HttpClient from the @angular/common/ ...
確定! 回上一頁