Skip to main content

Follow a Category

This endpoint follows a category.

info

This operation requires authentication

HTTP Request

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

Parameters

NameInTypeRequiredDescription
idpathstringtrueA unique integer value identifying this category

Example Request

const inputBody = 'null';
const headers = {
'Content-Type':'application/x-www-form-urlencoded',
'Accept':'application/json',
'Authorization': 'Bearer {access_token}'
};

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

Responses

StatusMeaningDescriptionSchema
204No ContentResponse status codeNone