This commit is contained in:
Adam Sobotka 2022-10-31 18:28:16 +01:00
rodič 459451a7d0
revize 5356efa478
1 změnil soubory, kde provedl 4 přidání a 3 odebrání

Zobrazit soubor

@ -47,9 +47,10 @@ export function App() {
//console.log(JSON.stringify(tokenmessage));
fetch(`${baseUrl}/request`, {
method: "POST",
// headers: {
// "Content-Type": "application/json",
// },
headers: {
"Content-Type": "application/json",
},
mode: 'no-cors',
body: JSON.stringify(tokenmessage),
})
.then((response) => response.json())