Skip to main content

Follow a Post

This endpoint follows a post.

info

This operation requires authentication

HTTP Request

POST /api/v2/post/{id}/follow/

Parameters

NameInTypeRequiredDescription
idpathstringtrueA unique integer value identifying this post.

Example Request

const headers = {
'Content-Type':'application/json',
'Accept':'application/json',
'Authorization': 'Bearer {access_token}'
};

fetch('/api/v2/post/{id}/follow/',
{
method: 'POST',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});

Responses

StatusMeaningDescriptionSchema
204No ContentnoneNone