PATCH resource
WARNING
This API is frozen and deprecated. Please use the fluent API from 0.9.4 on
Sends a PATCH request with data to the resource's self
rel.
Note, you should handle exceptions thrown by the request. See [Optimistic Concurrency] for more details.
Signature
The method signature for PATCH resource is:
parameter | description |
---|---|
resource | The body of a response from a previous request, in HAL format |
data | The payload to PATCH |
headers | (optional) add to or override the default headers. learn more |
-> returns | the JSON from the payload of the response to this request |