docs(http): fix typo (#33978)

PR Close #33978
This commit is contained in:
arturovt 2019-11-22 01:05:31 +02:00 committed by Matias Niemelä
parent 828e5c1f79
commit 2dd572b15c
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ As you can see, the response object has a `body` property of the correct type.
### Making a JSONP request ### Making a JSONP request
Apps can use the the `HttpClient` to make [JSONP](https://en.wikipedia.org/wiki/JSONP) requests across domains when the server doesn't support [CORS protocol](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS). Apps can use the `HttpClient` to make [JSONP](https://en.wikipedia.org/wiki/JSONP) requests across domains when the server doesn't support [CORS protocol](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS).
Angular JSONP requests return an `Observable`. Angular JSONP requests return an `Observable`.
Follow the pattern for subscribing to observables and use the RxJS `map` operator to transform the response before using the [async pipe](api/common/AsyncPipe) to manage the results. Follow the pattern for subscribing to observables and use the RxJS `map` operator to transform the response before using the [async pipe](api/common/AsyncPipe) to manage the results.