curl --request POST \
--url http://localhost/mogl/mogl-backend/api/followPartner \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"id": 123
}'Toggle follow status. Known issue: When unfollowing (already following), the backend returns an empty 200 response with no body. When following (new), returns the follow record data.
curl --request POST \
--url http://localhost/mogl/mogl-backend/api/followPartner \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"id": 123
}'Documentation Index
Fetch the complete documentation index at: https://developer.mogl.online/llms.txt
Use this file to discover all available pages before exploring further.
JWT Bearer token authentication. Use the /api/login endpoint to obtain a token.
Partner user ID
123
Follow: returns follow record data. Unfollow: returns empty body (backend bug — no return statement on unfollow path)