From a6dcc0c71b4f371e945c298b5a619d9aa2e0248d Mon Sep 17 00:00:00 2001 From: chenos Date: Fri, 23 Dec 2022 18:27:00 +0800 Subject: [PATCH] feat: update docs --- docs/en-US/api/http/index.md | 4 ++-- docs/zh-CN/api/http/index.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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" } ```