Comments(评论管理)
GET /api/Comments/{postid}
//api/Comments/:postidconst myHeaders = new Headers();
myHeaders.append("Authorization", "<API Key>");
const requestOptions = {
method: "GET",
headers: myHeaders,
redirect: "follow"
};
fetch("//api/Comments/:postid", requestOptions)
.then((response) => response.text())
.then((result) => console.log(result))
.catch((error) => console.error(error));POST /api/Comments/Create
GET /api/Comments/Delete
GET /api/Comments/Like
GET /api/Comments/UnLike
Last updated