Toggle a reaction on a post.
curl --request POST \
--url https://tryno.io/api/posts/{postId}/reactions \
--cookie __session=const options = {method: 'POST', headers: {cookie: '__session='}};
fetch('https://tryno.io/api/posts/{postId}/reactions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://tryno.io/api/posts/{postId}/reactions"
headers = {"cookie": "__session="}
response = requests.post(url, headers=headers)
print(response.text){}{
"error": "<string>"
}{
"error": "<string>"
}feed
Toggle a reaction on a post.
POST
/
posts
/
{postId}
/
reactions
Toggle a reaction on a post.
curl --request POST \
--url https://tryno.io/api/posts/{postId}/reactions \
--cookie __session=const options = {method: 'POST', headers: {cookie: '__session='}};
fetch('https://tryno.io/api/posts/{postId}/reactions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://tryno.io/api/posts/{postId}/reactions"
headers = {"cookie": "__session="}
response = requests.post(url, headers=headers)
print(response.text){}{
"error": "<string>"
}{
"error": "<string>"
}
