📸 Social Media
Like or unlike post
The API endpoint enables users to like or unlike a social media post.
By accessing this endpoint, users can interact with the post by either liking or unliking it.
post/social-media/like/post/{postId}
Response
Like or unlike post
Example response
{
"message": "Unliked successfully",
"statusCode": 200,
"success": true
}