document.addEventListener('DOMContentLoaded', function () { fetch('http://localhost:5000/getAll') .then(response => response.json()) .then(data => loadHTMLTable(data['data']));
document.addEventListener('DOMContentLoaded', function () {
fetch('http://localhost:5000/getAll')
.then(response => response.json())
.then(data => loadHTMLTable(data['data']));