exec Patch

protected fun execPatch(endpoint: String, payload: APIRequest.Params = Params()): JSONObject

Function to execute a RequestMethod.PATCH request to the backend

Return

the result of the request as JSONObject

Parameters

endpoint

: the endpoint path of the request url

payload

: the payload of the request