parent
13d82ce248
commit
0807d13201
|
@ -389,7 +389,7 @@ In the following example, the `HeroesService` makes an HTTP POST request when ad
|
|||
The `HttpClient.post()` method is similar to `get()` in that it has a type parameter, which you can use to specify that you expect the server to return data of a given type. The method takes a resource URL and two additional parameters:
|
||||
|
||||
* *body* - The data to POST in the body of the request.
|
||||
* *options*` - An object containing method options which, in this case, [specify required headers](#adding-headers).
|
||||
* *options* - An object containing method options which, in this case, [specify required headers](#adding-headers).
|
||||
|
||||
The example catches errors as [described above](#error-details).
|
||||
|
||||
|
|
Loading…
Reference in New Issue