|
|
@ -130,9 +130,13 @@
|
|
|
|
function testReset() {
|
|
|
|
function testReset() {
|
|
|
|
fetch(document.getElementById("server").value+"/thrimshim/reset/"+document.getElementById("rowId").value, {
|
|
|
|
fetch(document.getElementById("server").value+"/thrimshim/reset/"+document.getElementById("rowId").value, {
|
|
|
|
method: 'POST',
|
|
|
|
method: 'POST',
|
|
|
|
|
|
|
|
headers: {
|
|
|
|
|
|
|
|
'Accept': 'application/json',
|
|
|
|
|
|
|
|
'Content-Type': 'application/json'
|
|
|
|
|
|
|
|
},
|
|
|
|
body: JSON.stringify({token: user.getAuthResponse().id_token})
|
|
|
|
body: JSON.stringify({token: user.getAuthResponse().id_token})
|
|
|
|
}).then(data => console.log(data));
|
|
|
|
}).then(data => console.log(data));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
</html>
|
|
|
|