// Replace API_KEY with your api key curl --location --request POST 'https://api.supahub.com/api/v1/votes/upvote_post' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer API_KEY' \ --data-urlencode 'postId=clryjbggw000g12evcnbcv0cqa' \ --data-urlencode '[email protected]' \ --data-urlencode 'name=user name'
Cast vote on a post.