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