import requests
import json


def get_request(base_url, parameters = {}, header = {}):
  
  """
  Send Request to endpoint 
  
  base_url: str url to point to. Consist of endpoint_base and object to retreive
  endpoint_parameters: dict Parameters to include in the request
  header: dict Headers to include in the request
  
  return: list
  """
  
  req = requests.get(base_url, params = parameters, headers = header)
  respond = json.loads(req.content)
  
  return respond