import requests


def getResponse(url, data=None):
    """
    Make a "get" call

    Parameters
    ----------
    url : str - url to call, meaning to download sth

    Returns
    -------
    response.text: str - Response from the "get" call

    """
    if data is None: 
        response = requests.get(url)  # Get the response without input
    else:
        response = requests.get(url, data = data)  # Get the response with input data
    return response.text