Skip to main content

user


follow and unfollow user#

PUT : /api/user/follow PUT : /api/user/unfollow

request body :{
userId : string
}

follow list#

GET : /api/user/follow


like and unlike post#

PUT : /api/user/like PUT : /api/user/unlike

request body :{
postId : string
}

post mypost#

POST : /api/user/post

request body :{
post : string,
postId? : string
}

delete my post#

DELETE /api/user/post

request body :{
postId : string
}

edit my post#

PATCH : /api/user/post/edit/{:postId}

request body {
newBody : string
}

delete my account#

DELETE :/api/user