feat: update docs
This commit is contained in:
parent
574bac02ba
commit
a6dcc0c71b
@ -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"
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -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"
|
||||
}
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user