- 注册登录
- 论坛首页
- 个人中心
- 后台管理
评论文章(接口)
开发中
POST
/article/article_comment
请求参数
Body 参数application/json
article_id
integer
文章id
comment
string
评论内容
parent_id
integer
父评论 id
示例
{
"article_id": 0,
"comment": "string",
"parent_id": 0
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/article/article_comment' \
--header 'Content-Type: application/json' \
--data-raw '{
"article_id": 0,
"comment": "string",
"parent_id": 0
}'
返回响应
🟢200成功
application/json
Body
status
string
状态信息
message
string
必需
data
string
评论字典
示例
{
"status": "string",
"message": "string",
"data": "string"
}