POST
/api/auth/loginID+비번 로그인 → ops_session 쿠키 발급
Request body
usernamestringrequiredpasswordstringrequiredResponses
200 OK401 자격증명 불일치
objectcURL
curl -X POST https://scti.in-bridge.com/api/auth/login \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"username":"string","password":"string"}'JavaScript
const res = await fetch("https://scti.in-bridge.com/api/auth/login", {
method: "POST",
headers: {
"Authorization": `Bearer ${token}`,
"Content-Type": "application/json"
},
body: JSON.stringify({
"username": "string",
"password": "string"
})
});
const data = await res.json();Response 200
{}