cURL
curl --request POST \ --url https://localhost:5000/posts/toggle-bookmark/{post_id} \ --header 'Authorization: Bearer <token>'
{ "success": true, "message": "<string>", "isBookmarked": true }
Bookmark or unbookmark a post
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Post ID
Bookmark status updated
true