* 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 = {},
)
| 2363 | * details on the return type. |
| 2364 | */ |
| 2365 | post( |
| 2366 | url: string, |
| 2367 | body: any | null, |
| 2368 | options: { |
| 2369 | observe?: 'body' | 'events' | 'response'; |
| 2370 | responseType?: 'arraybuffer' | 'blob' | 'json' | 'text'; |
| 2371 | } & HttpClientCommonOptions = {}, |
| 2372 | ): Observable<any> { |
| 2373 | return this.request<any>('POST', url, addBody(options, body)); |
| 2374 | } |
| 2375 | |
| 2376 | /** |
| 2377 | * Constructs a `PUT` request that interprets the body as an `ArrayBuffer` and returns the |
no test coverage detected