Function to execute a RequestMethod.GET request to the backend
the result of the request as JSONObject
: the endpoint path of the request url