diff --git a/docs/en-US/api/http/index.md b/docs/en-US/api/http/index.md index 6f4ec2be3..ae90bf97f 100644 --- a/docs/en-US/api/http/index.md +++ b/docs/en-US/api/http/index.md @@ -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" } ``` diff --git a/docs/zh-CN/api/http/index.md b/docs/zh-CN/api/http/index.md index a3117cf49..b41f22fb2 100644 --- a/docs/zh-CN/api/http/index.md +++ b/docs/zh-CN/api/http/index.md @@ -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" } ```