code: def make_request(self, url, params={}):
      headers = {"Content-type": "application/json"}
      if self.api_key:
          headers["Authorization"] = "Token " + self.api_key
      resp = requests.get(url, headers=headers, params=params)
      content = {}
      if resp.status_code == 200:
          content = {"content": resp.json(), "code": 200}
      else:
          content = {
              "content": {},
              "code": resp.status_code,
              "error": resp.text,
          }
      return content
  
file_path: mindsdb/mindsdb/integrations/handlers/oilpriceapi_handler/oilpriceapi.py
imports: import requests
label_desc: Use image node_id 2 for calling the OilPriceAPIClient obj's underlying member method code with example usage: obj.make_request(url, params) and returns: content