-
Notifications
You must be signed in to change notification settings - Fork 4
API Documentation
최현민 edited this page Oct 22, 2023
·
1 revision
-
Request
-
URL
https://smunity.co.kr/api/auth
-
Method
POST
-
Body
{ "username": "<학번>", "password": "<비밀번호>" }
-
URL
-
Response
-
Success: 200 OK
{ "is_auth": true, "code": "success", "body": { "name": "최현민", "department": "컴퓨터과학전공", "email": "[email protected]" } }
-
Fail: 401 Unauthorized
{ "is_auth": false, "code": "auth_failed", "body": { "message": "아이디 및 비밀번호가 일치하지 않습니다." } }
-
Success: 200 OK