How to cancel my operation when I like a topic?
I want to use Discourse API to cancel it.
Do you know?Pelase tell me.
You send a DELETE request to the post with a post action type id of 2.
URL example: https://your_forum_url/post_actions/post_id_goes_here
You can find all of this by opening Chrome’s Dev Tools (press F12), switch to the Network tab, then on the Discourse page, click the Like icon, you will see the request go through (so you can see what it sent), then press it again to see how it removes it.