-
Notifications
You must be signed in to change notification settings - Fork 4
User API
Zin0_0 edited this page Nov 30, 2020
·
4 revisions
Method | url | description |
---|---|---|
GET | api/user/oauth/naver | naver ์์ด๋๋ก ๋ก๊ทธ์ธ |
GET | api/user/me | ์ฌ์ฉ ์ค์ธ user์ ์ ๋ณด ํ์ธ |
URL
GET /api/user/oauth/
redirect URL์ query๊ฐ์ผ๋ก token์ด ๋์ด์จ๋ค.
Response Description
Name | Type | Description |
---|---|---|
token | QUERY_STRING | jwt token string |
URL
GET /api/user/me
Response Description
Name | Type | Description |
---|---|---|
name | STRING | ์ฌ์ฉ์ ์ด๋ฆ ๋๋ ๋๋ค์ |
STRING | ์ฌ์ฉ์ ์ด๋ฉ์ผ ์ฃผ์ |
Response
{
id: 1,
name: "tony",
email: "aaa@aaa",
}