Authorization: Bearer ********************
{ "postId": 2, "content": "测试评论111", // root_id: xxx 创建子评论时用到 // pid: xxx 创建子评论时用到 }
curl --location --request POST 'http://localhost:9999/api/comments/create' \ --header 'Content-Type: application/json' \ --data-raw '{ "postId": 2, "content": "测试评论111", // root_id: xxx 创建子评论时用到 // pid: xxx 创建子评论时用到 }'
{}