πΈ Social Media
Follow or unfollow user
The API endpoint allows users to follow or unfollow other users within the application.
When accessing this endpoint, users can choose to follow or unfollow a specific user, thereby establishing or severing a connection between their accounts.
post/social-media/follow/{toBeFollowedUserId}
Request
- Base URLhttps://api.freeapi.app/api/v1
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Follow or unfollow user
Example response
{
"data": {
"following": true
},
"message": "Followed successfully",
"statusCode": 200,
"success": true
}Changes
No recorded changes to this operation across all 1 revision of this API.