Skip to content

Commit

Permalink
Update login api
Browse files Browse the repository at this point in the history
  • Loading branch information
2eey10 committed Feb 8, 2024
1 parent 6b6d5cd commit 9e0c4fe
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,7 @@ API Specification
* login

* description
# check_user in models.py 를 이용해 신규 회원, #기존 회원 검사.
기존 회원인 경우 "message":"signup"과 함께 #user_id 반환
신규 회원인 경우 "message":"login"과 함께
user_id 반환
##### check_user in models.py 를 이용해 신규 회원, 기존 회원 검사. 기존 회원인 경우 "message":"signup"과 함께 #user_id 반환신규 회원인 경우 "message":"login"과 함께 user_id 반환

-------------------
| **API Specification: /login** |
Expand All @@ -104,7 +101,8 @@ API Specification
|------------------||
| `Content-Type` ||
| `application/x-www-form-urlencoded` ||
|------------------|---------------------|---------------------|
-------------------

| **Body** |||
| Parameter | Type | Description |
|-----------|--------|---------------------|
Expand All @@ -130,7 +128,8 @@ API Specification
| "user_id": "user_id_value" ||
| } |||
| ``` |||
|----------------------|---------------------|---------------------|
-------------------

| **Error Response** |||
|----------------------|||
| **Status Code:** 500 Internal Server Error ||
Expand Down

0 comments on commit 9e0c4fe

Please sign in to comment.