How to unlike a topic or post

I observed through reverse engineering that the API URL used for like/unlike was https://dev-forum.curiodigitaltx.com/discourse-reactions/posts/28/custom-reactions/heart/toggle.json with a PUT request. But I am getting below API failed error


Do we need to pass anything on body as well?
can anyone help me.
I am sure my header is correct because rest all get, post apis are working fine.
my header is
const getHeaders = () => {

return {
“Api-Username”: userName,
“Api-Key”: config.API_KEY,
“Content-Type”: “multipart/form-data”,
};
};

ok