docstr: Common method for all get endpoints 
code: def get(self, endpoint):
      """Common method for all get endpoints"""
      try:
          resp = self._request("get", endpoint)
          if resp.ok:
              resp = resp.json()["d"]
              if "results" in resp:
                  resp = resp["results"]
              else:
                  resp = [resp]
          else:
              resp = []
          for r in resp:
              move_under(r, "__metadata")
          return resp
      except Exception as e:
          logger.error(f"Error requesting endpoint {endpoint}: {e}")
          return {}
  
file_path: mindsdb/mindsdb/integrations/handlers/sap_erp_handler/api.py
imports: import requests
  from urllib.parse import urljoin
  from mindsdb.utilities import log
label_desc: Use image node_id 4 for calling the SAPERP obj's underlying member method code with example usage: obj.get(endpoint) and returns: resp, dict