Availability
This routine is available starting with katl-commons 4.1.2.
Syntax
httpPatch(url, request [, patchDataObject])
Description
Executes an HTTP PATCH for the given URL using the specified HttpRequest object. The data used for the PATCH can be either included in the request object (as name-value parameters) or it can be added as a separate parameter (in the case of JSON, struct and so on).Parameters
Parameter | Type | Required | Description |
---|---|---|---|
url | string | Yes | The URL |
request | HttpRequest | Yes | An HttpRequest object containing headers, cookies, parameters |
patchDataObject | variable: string, array or struct | No | Data to be used for the PATCH method |
The request parameter should have the HttpRequest type described here.
Return type
variable return type - depending on the left hand side operator type
See also