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'
Path Parameters
Below are the query parameters available for customizing the response:
Identifier of the post to be upvoted.
Email address of the user performing the upvote.
Name of the user performing the upvote (optional).
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'