import requests


def post_new_user(ID):
    """
    POST request to save new user name to MongoDB

    Args:
        ID (str): user name
    """
    user = {
        "username": ID,
    }
    r3 = requests.post("http://vcm-9030.vm.duke.edu:5000/api/new_user",
                       json=user)
    return r3.text