feat: update docs

This commit is contained in:
chenos 2022-12-23 18:27:00 +08:00
parent 574bac02ba
commit a6dcc0c71b
2 changed files with 4 additions and 4 deletions

View File

@ -223,9 +223,9 @@ Blacklist.
```bash
POST /api/posts:create?blacklist=date
# The date field will be filtered out and not be written to the database
{
"title": "My first post",
"date": "2022-05-19" # The date field will be filtered out and not be written to the database
"title": "My first post"
}
```

View File

@ -223,9 +223,9 @@ POST /api/posts:create?whitelist=title
```bash
POST /api/posts:create?blacklist=date
# date 字段会被过滤掉,不会写入数据库
{
"title": "My first post",
"date": "2022-05-19" # date 字段会被过滤掉,不会写入数据库
"title": "My first post"
}
```