mirror of
https://github.com/C9Glax/tranga-website.git
synced 2025-01-30 16:37:29 +01:00
8 lines
250 B
JavaScript
8 lines
250 B
JavaScript
|
const apiUri = "http://localhost:5177";
|
|||
|
|
|||
|
function GetTasks(){
|
|||
|
var getTaskUri = apiUri + "/Tasks/GetList";
|
|||
|
fetch(getTaskUri)
|
|||
|
.then(response => response.json())
|
|||
|
.catch(error => console.error('Unable to get items.', error));
|
|||
|
}
|