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