From 2dd572b15c269304c91236e5a4211f24c0ea8111 Mon Sep 17 00:00:00 2001 From: arturovt Date: Fri, 22 Nov 2019 01:05:31 +0200 Subject: [PATCH] docs(http): fix typo (#33978) PR Close #33978 --- aio/content/guide/http.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aio/content/guide/http.md b/aio/content/guide/http.md index 79ddf7a438..75c52cf7cc 100644 --- a/aio/content/guide/http.md +++ b/aio/content/guide/http.md @@ -170,7 +170,7 @@ As you can see, the response object has a `body` property of the correct type. ### 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`. 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.