LIKE_POST
The LIKE_POST handler allows users to like or unlike a specific post. It validates user information and toggles the like state for the post.
Interaction Format
To interact with this handler, use the following format:
Input Parameters
Field
Type
Required
Description
post_id
String
Yes
The unique ID of the post.
Validations
post_id: Must be provided and correspond to a valid post.
The user must have an existing profile.
The post must exist in the database.
Response Format
Success
Error
Last updated