* Constructs an observable that, when subscribed, causes the configured * `POST` request to execute on the server. The server responds with the location of * the replaced resource. See the individual overloads for * details on the return type.
(
url: string,
body: any | null,
options: {
observe?: 'body' | 'events' | 'response';
responseType?: 'arraybuffer' | 'blob' | 'json' | 'text';
} & HttpClientCommonOptions = {},
)
| 2357 | * details on the return type. |
| 2358 | */ |
| 2359 | post( |
| 2360 | url: string, |
| 2361 | body: any | null, |
| 2362 | options: { |
| 2363 | observe?: 'body' | 'events' | 'response'; |
| 2364 | responseType?: 'arraybuffer' | 'blob' | 'json' | 'text'; |
| 2365 | } & HttpClientCommonOptions = {}, |
| 2366 | ): Observable<any> { |
| 2367 | return this.request<any>('POST', url, addBody(options, body)); |
| 2368 | } |
| 2369 | |
| 2370 | /** |
| 2371 | * Constructs a `PUT` request that interprets the body as an `ArrayBuffer` and returns the |
no test coverage detected