-
Notifications
You must be signed in to change notification settings - Fork 1
Button
Leeyoujin edited this page Jan 31, 2021
·
1 revision
좋아요 버튼 누르기 / 취소하기
[req] POST /like
header : {
authorization: token (String)
}
{
bucket_id: bucket_id (Int) // 좋아요 누른 버킷의 id
button: 'like' or 'unlike' (String) // 좋아요 버튼 눌렀을 때 : 'like' or 좋아요 취소 : 'unlike'
}
[res]
status code : 200
{
'msg': 'like bucket' or 'unlike bucket' (String)
}
status code : 400