Closed guymoon closed 2 years ago
POST /spotLike/like
Request Params
{ userId: string, //session에서 얻은 userId spotId: string, //현재 컴포넌트에서 props로 얻은spotId }
Response
{ newId : string } //등록된 ID
POST /spotLike/unLiked
{ userId: string, //session에서 얻은 userId spotId: string //현재 컴포넌트에서 props로 얻은 spotId }
{ deletedid: string } //삭제된 ID
11
2.
POST /spotLike/like
Request Params
Response
3.
POST /spotLike/unLiked
Request Params