def getConfigurations():
    url = 'https://data.mongodb-api.com/app/data-mtybs/endpoint/data/beta/action/find'
    payload = json.dumps({'collection': 'configurations', 'database': 'themorningprojectdb', 'dataSource': 'Cluster0'})
    headers = {'Content-Type': 'application/json', 'Access-Control-Request-Headers': '*', 'api-key': 'EXAMPLE_KEY'}
    response = requests.request('POST', url, headers=headers, data=payload)
    jsonResponse = response.json()
    return jsonResponse['documents']
def getConfigurations():
    url = 'https://data.mongodb-api.com/app/data-mtybs/endpoint/data/beta/action/find'
    payload = json.dumps({'collection': 'configurations', 'database': 'themorningprojectdb', 'dataSource': 'Cluster0'})
    headers = {'Content-Type': 'application/json', 'Access-Control-Request-Headers': '*', 'api-key': 'EXAMPLE_KEY'}
    response = requests.request('POST', url, headers=headers, data=payload)
    jsonResponse = response.json()
    return jsonResponse['documents']