def METHOD_NAME(_url, _headers=None):
    # TODO: pass the request headers and params in a dictionary
    logging.info(f"Processing request: {_url}")
    try:
        response = requests.get(_url, headers=_headers)
        if response.status_code == requests.codes.ok:
            return response.json()
        else:
            logging.warning(
                f"Unable to request URL: {_url} Status code:" f"{response.status_code}"
            )
            return None
    except Exception as e:
        logging.error("There was an error with the request.")
        logging.info(f"{type(e).__name__}: {e}")
        return None