exec
Put
protected fun execPut(endpoint: String, query: APIRequest.Params? = null, payload: APIRequest.Params = Params()): JSONObject
Method to execute a RequestMethod.PUT request to the backend
Return
the result of the request as JSONObject
Parameters
endpoint
The endpoint path of the request url
query
The query parameters of the request
payload
The payload of the request