From 6efff3c349591721c6eb9af2a6c8877d428eaab8 Mon Sep 17 00:00:00 2001 From: HyFren Date: Thu, 16 Oct 2025 16:36:48 +0800 Subject: [PATCH] doc(zh): correct FastAPI request body translation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修正了 FastAPI 请求体相关译文,原译误将主语 FastAPI 作为发送方,实际应是客户端向 API 发送数据。 The original translation incorrectly implied FastAPI sends data, whereas it should indicate that the client sends data to the API. --- docs/zh/docs/tutorial/body.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/zh/docs/tutorial/body.md b/docs/zh/docs/tutorial/body.md index 3820fc747..adefcc31f 100644 --- a/docs/zh/docs/tutorial/body.md +++ b/docs/zh/docs/tutorial/body.md @@ -1,6 +1,6 @@ # 请求体 -FastAPI 使用**请求体**从客户端(例如浏览器)向 API 发送数据。 +当你需要将数据从客户端(例如浏览器)发送到你的 API 时,应将数据放在**请求体** **请求体**是客户端发送给 API 的数据。**响应体**是 API 发送给客户端的数据。