code: def make_request(self, url, method="GET", payload=None):
      if method not in ["GET", "POST"]:
          raise ValueError("Invalid HTTP request method")
      headers = {
          "accept": "application/json",
          "content-type": "application/json",
      }
      if self.auth_token:
          headers["x-luma-api-key"] = self.auth_token
      request_method = getattr(requests, method.lower())
      resp = request_method(url, json=payload, headers=headers)
      return {"content": resp.json(), "code": resp.status_code}
  
file_path: mindsdb/mindsdb/integrations/handlers/luma_handler/luma.py
imports: import json
  import requests
label_desc: Use image node_id 2 for calling the LumaClient obj's underlying member method code with example usage: obj.make_request(url, method, payload) and returns: dict