Alliegaytor [she/her]

I'm Vegan

[object Object]

  • 0 Posts
  • 1 Comment
Joined 5 months ago
cake
Cake day: June 11th, 2024

help-circle
  • I tested it using the api on this instance /api/v3/post/like and I was unable to downvote any post. I also tried /api/v3/comment/like and it would also fail due to {"error":"downvotes_are_disabled"}⏎ .

    I made sure to try and downvote a comment/post on an instance with downvotes enabled.

    Not sure why people are saying you can, unless I’ve completely screwed this up, but it seems that downvotes don’t work at all via the api if it’s disabled.

    curl
    curl --request POST \
         --url https://vegantheoryclub.org/api/v3/post/like \
         --user-agent "Mozilla/5.0 (X12; Linux x86_128) Gecko/19840101 0.821/xoferiF" \
         --header 'authorization: Bearer REDACTED ' \
         --header 'content-type: application/json' \
         --data '
    {
      "score": -1,
      "post_id": 362154
    }
    '