Mainpage
server์์ ํต์
function loginmove() {
fetch("/login", {
method: "POST",
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify({
pk_user_id: document.getElementById("username").value,
pk_user_pw: document.getElementById("password").value,
}),
}).then((response => response.json()))
.then(json => {
if (json['status'] == 400) {
๋น๋ฐ๋ฒํธ๊ฐ ํ๋ ธ์ ๋
}else if (json['status'] == 500) {
์๋ฒ ์๋ฌ๊ฐ ๋ฐ์ํ์ ๋
}else if (json['status'] == 200) {
์ฌ์ฉ์์ lms ๋ฐ์ดํฐ๋ฅผ ๋ฐ์์์ ๋
}
}Last updated
