From 5fe1e74dd32d63b00aafaf367252c07a89f28018 Mon Sep 17 00:00:00 2001 From: riren Date: Thu, 14 Jun 2018 23:57:46 +0200 Subject: [PATCH] docs(common): fix in the documentation of PUT (#24528) PR Close #24528 --- packages/common/http/src/client.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/common/http/src/client.ts b/packages/common/http/src/client.ts index bdcff69ce6..5b604d5433 100644 --- a/packages/common/http/src/client.ts +++ b/packages/common/http/src/client.ts @@ -1974,8 +1974,8 @@ export class HttpClient { /** * Constructs an `Observable` which, when subscribed, will cause the configured - * POST request to be executed on the server. See the individual overloads for - * details of `post()`'s return type based on the provided options. + * PUT request to be executed on the server. See the individual overloads for + * details of `put()`'s return type based on the provided options. */ put(url: string, body: any|null, options: { headers?: HttpHeaders | {[header: string]: string | string[]},