cURL
curl --request POST \ --url https://localhost:5000/users/toggle-follow/{identifier} \ --header 'Authorization: Bearer <token>'
{ "success": true, "message": "<string>", "isFollowing": true }
Follow or unfollow a user
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Username or user ID
Follow status updated
true