Like / Unlike post

Please use this (https://bemo.live/mobile_api/like_post) API for access (like/unlike) post endpoint


Post parameters

Field Value Remarks
session_id ‚ÄčAccess token ID E.g. de25cc16eb00960f076...
post_id ‚ÄčLiked/Unliked post int ID E.g. 4567

Success response

{
        "post_likes": 1,
        "message": "",
        "code": 200,
        "data":{
            "like": true
        }
    }
    

Error responses

{
        "code": 401,
        "data": [],
        "message": "Unauthorized Access"
    }


    {
        "code": 400,
        "message": "Post id is missing or invalid",
        "data": []
    }