Initial page

All About Me's API

login

POST https://localhost:4000/login

Request Body

Name
Type
Description

email

string

password

string

{    "name": "kimcoding",    
     "email": "kimcoding@gmail.com",    
     "phone": "010-0000-0000"
}

signUp

POST https://localhost:4000/signup

Request Body

Name
Type
Description

email

string

password

string

name

string

phone

string

logout

GET https://localhost:4000/logout

googleLogin

POST https://localhost:4000/login/google

Headers

Name
Type
Description

accessToken

string

githubLogin

POST https://localhost:4000/login/github

Headers

Name
Type
Description

accessToken

string

userInfo

GET https://localhost:4000/user/:id

Headers

Name
Type
Description

authorization

string

modifyUser

PUT https://localhost:4000/user/:id

Headers

Name
Type
Description

accessToken

string

email

string

password

string

name

string

phone

string

deleteUser

DELETE https://localhost:4000/user/:id

Headers

Name
Type
Description

accessToken

string

loadFavorite

GET https://localhost:4000/user/favorite/:id

Headers

Name
Type
Description

accessToken

string

loadUserPost

GET https://localhost:4000/user/post/:id

Headers

Name
Type
Description

accessToken

string

deleteFavorite

DELETE https://localhost:4000/user/favorite/:id

Headers

Name
Type
Description

accessToken

string

testlist

GET https://localhost:4000/test

test

GET https://localhost:4000/test/:id

Query Parameters

Name
Type
Description

id

number

saveFavorite

POST https://localhost:4000/favorite

Request Body

Name
Type
Description

userId

number

selectId

number

testId

number

loadPost

GET https://localhost:4000/post

Headers

Name
Type
Description

accessToken

string

addPost

POST https://localhost:4000/post

Headers

Name
Type
Description

accessToken

string

Request Body

Name
Type
Description

userId

number

content

string

deletePost

DELETE https://localhost:4000/post/:id

Headers

Name
Type
Description

accessToken

string

Last updated

Was this helpful?