HTTP.PATCH
Send an HTTP PATCH request. The HTTP PATCH method is used to partially modify the specified resource on the server. Please refer to https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods for more information about the different HTTP methods
Syntax
=HTTP.PATCH(URL, [Body], [HeadersJSON], [ConfigJSON], [Target])
Arguments
Name | Type | Description |
---|---|---|
URL | String | The URL to request. |
Body (optional) | String | The body of the request. |
HeadersJSON (optional) | JSON | Headers of the HTTP request. |
ConfigJSON (optional) | JSON | A JSON with one or more of the following properties:
|
Target (optional) | Target | INBOX(), OUTBOX("MsgID") or a cell range where the result will be placed. Make sure the cell range is big enough or not everything is displayed. |
Return
Type | Description |
---|---|
Number | The function HTTP.PATCH() always returns a unique random request ID. Otherwise an error is displayed. |
Examples
A | B | |
---|---|---|
1 | Headers | |
2 | Accept | application/json |
3 | Config | |
4 | timeout | 3000 |
Examples for using the config and header parameter. Use a JSON() function around the cell ranges.