From f8da722c30001e492cb48dec869e9bab9cc4c69c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miskolczi=20Rich=C3=A1rd?= Date: Mon, 22 Apr 2024 10:17:39 +0200 Subject: [PATCH] things --- WD7UVN_SzTGUI_2023242.Client.JS/wwwroot/index.html | 4 +++- WD7UVN_SzTGUI_2023242.Client.JS/wwwroot/script.js | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/WD7UVN_SzTGUI_2023242.Client.JS/wwwroot/index.html b/WD7UVN_SzTGUI_2023242.Client.JS/wwwroot/index.html index 5e7316f..a2cf452 100644 --- a/WD7UVN_SzTGUI_2023242.Client.JS/wwwroot/index.html +++ b/WD7UVN_SzTGUI_2023242.Client.JS/wwwroot/index.html @@ -1,10 +1,12 @@ - Hello, World! + Company Manager +

Hello, World!

Welcome to my first web page.

+ \ No newline at end of file diff --git a/WD7UVN_SzTGUI_2023242.Client.JS/wwwroot/script.js b/WD7UVN_SzTGUI_2023242.Client.JS/wwwroot/script.js index 5f28270..5de9022 100644 --- a/WD7UVN_SzTGUI_2023242.Client.JS/wwwroot/script.js +++ b/WD7UVN_SzTGUI_2023242.Client.JS/wwwroot/script.js @@ -1 +1,3 @@ - \ No newline at end of file +fetch('http://localhost:31272/customer') +.then(x => x.json()) +.then(y => console.log(y)) \ No newline at end of file