From de0b13d41dec9a59ee700034d34f3a5c5e52d1a6 Mon Sep 17 00:00:00 2001 From: Judy Bogart Date: Fri, 23 Mar 2018 11:22:21 -0700 Subject: [PATCH] docs: update for hero service name change (#22920) PR Close #22920 --- aio/content/guide/http.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/aio/content/guide/http.md b/aio/content/guide/http.md index e4fbc2a400..502d914a6b 100644 --- a/aio/content/guide/http.md +++ b/aio/content/guide/http.md @@ -295,7 +295,7 @@ to every `HttpClient` save method. ### Making a POST request Apps often POST data to a server. They POST when submitting a form. -In the following example, the `HeroService` posts when adding a hero to the database. +In the following example, the `HeroesService` posts when adding a hero to the database. -You must call _subscribe()_ or nothing happens. Just calling `HeroService.deleteHero()` **does not initiate the DELETE request.** +You must call _subscribe()_ or nothing happens. Just calling `HeroesService.deleteHero()` **does not initiate the DELETE request.** @@ -398,7 +398,7 @@ req.subscribe(); ### Making a PUT request An app will send a PUT request to completely replace a resource with updated data. -The following `HeroService` example is just like the POST example. +The following `HeroesService` example is just like the POST example.