def validateInputs(dict):
    """
    Checks that all necessary inputs to post request are present
    ----------
    Parameters
    ----------
    dict: dictionary received from post request
    Returns
    -------
        1 if there are missing keys
        0 if all keys are present
    """
    dict_keys = ['username', 'processing', 'filename']
    for i in dict_keys:
        if i not in dict.keys():
            return 1
    return 0