UC /users v1.0

This commit is contained in:
andrei-mihnea-cerbu
2024-04-03 08:02:26 +03:00
parent 5e5bab933b
commit 4f8719e9c8
16 changed files with 295 additions and 31 deletions
+6 -3
View File
@@ -70,7 +70,8 @@ document.addEventListener('DOMContentLoaded', function() {
fetch(endpoint, {
method: 'GET',
headers: {
'Authorization': id
'Authorization': id,
'x-api-key': "uc_api"
},
})
.then(async response => {
@@ -116,7 +117,8 @@ document.addEventListener('DOMContentLoaded', function() {
fetch(endpoint, {
method: 'GET',
headers: {
'Authorization': id
'Authorization': id,
'x-api-key': "uc_api"
},
})
.then(async response => {
@@ -162,7 +164,8 @@ document.addEventListener('DOMContentLoaded', function() {
fetch(endpoint, {
method: 'GET',
headers: {
'Authorization': id
'Authorization': id,
'x-api-key': "uc_api"
},
})
.then(async response => {