code: def post_request(
      client: cx.Client,
      api_name: str,
      payload: Union[List, Dict],
      extra_path: Optional[str] = None,
  ) -> requests.Response:
      api_info = client.get_api(api_name)
      endpoint = api_info["endpoint"]
      if extra_path and extra_path != "":
          endpoint = os.path.join(endpoint, extra_path)
      response = requests.post(endpoint, json=payload)
  
      return response
  
imports: import os
  import threading
  import time
  from concurrent import futures
  from http import HTTPStatus
  from typing import Any, List, Optional, Tuple, Union, Dict, Callable
  import cortex
  import requests
  import yaml
label_desc: Use image node_id 9 for calling a global function with example usage: post_request(client, api_name, payload, extra_path) and returns: response