docs: arreglar enlaces colgantes en toh-pt6
This commit is contained in:
parent
316d9d5c34
commit
f6ae7d4f49
@ -221,7 +221,7 @@ Here is the final version of `getHeroes()` with the `tap()` that logs the operat
|
|||||||
|
|
||||||
Most web APIs support a _get by id_ request in the form `:baseURL/:id`.
|
Most web APIs support a _get by id_ request in the form `:baseURL/:id`.
|
||||||
|
|
||||||
Here, the _base URL_ is the `heroesURL` defined in the [Heroes and HTTP](tutorial/toh-pt6#heroes-and-http) section (`api/heroes`) and _id_ is
|
Here, the _base URL_ is the `heroesURL` defined in the [Heroes and HTTP](tutorial/toh-pt6#import-heroes) section (`api/heroes`) and _id_ is
|
||||||
the number of the hero that you want to retrieve. For example, `api/heroes/11`.
|
the number of the hero that you want to retrieve. For example, `api/heroes/11`.
|
||||||
|
|
||||||
Update the `HeroService` `getHero()` method with the following to make that request:
|
Update the `HeroService` `getHero()` method with the following to make that request:
|
||||||
|
@ -43,7 +43,7 @@ Al utilizar la API web en memoria, no tendrá que configurar un servidor para ob
|
|||||||
|
|
||||||
**Importante:** el módulo API web en memoria no tiene nada que ver con HTTP en Angular.
|
**Importante:** el módulo API web en memoria no tiene nada que ver con HTTP en Angular.
|
||||||
|
|
||||||
Si solo está leyendo este tutorial para aprender sobre `HttpClient`, puede [omitir](# import-heroes) este paso.
|
Si solo está leyendo este tutorial para aprender sobre `HttpClient`, puede [omitir](#import-heroes) este paso.
|
||||||
Si está codificando junto con este tutorial, quédese aquí y agregue la API web en memoria ahora.
|
Si está codificando junto con este tutorial, quédese aquí y agregue la API web en memoria ahora.
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@ -220,7 +220,7 @@ Aquí está la versión final de `getHeroes()` con el `tap()` que registra la op
|
|||||||
|
|
||||||
La mayoría de las API web admiten una solicitud _get by id_ en la forma `: baseURL /: id`.
|
La mayoría de las API web admiten una solicitud _get by id_ en la forma `: baseURL /: id`.
|
||||||
|
|
||||||
Aquí, la _base URL_ es el `heroesURL` definido en la [Heroes y HTTP](tutorial/toh-pt6#heroes-and-http) sección (`api/heroes`) y _id_ es
|
Aquí, la _base URL_ es el `heroesURL` definido en la [Heroes y HTTP](tutorial/toh-pt6#import-heroes) sección (`api/heroes`) y _id_ es
|
||||||
El número del héroe que quieres recuperar. Por ejemplo, `api/heroes/11`.
|
El número del héroe que quieres recuperar. Por ejemplo, `api/heroes/11`.
|
||||||
|
|
||||||
Actualice el método `HeroService` `getHero()` con lo siguiente para hacer esa solicitud:
|
Actualice el método `HeroService` `getHero()` con lo siguiente para hacer esa solicitud:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user