Browse Source

doc(zh): correct FastAPI request body translation

修正了 FastAPI 请求体相关译文,原译误将主语 FastAPI 
作为发送方,实际应是客户端向 API 发送数据。

The original translation incorrectly implied FastAPI sends data, 
whereas it should indicate that the client sends data to the API.
pull/14195/head
HyFren 9 months ago
committed by GitHub
parent
commit
6efff3c349
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      docs/zh/docs/tutorial/body.md

2
docs/zh/docs/tutorial/body.md

@ -1,6 +1,6 @@
# 请求体
FastAPI 使用**请求体**从客户端(例如浏览器)向 API 发送数据。
当你需要将数据从客户端(例如浏览器)发送到你的 API 时,应将数据放在**请求体**
**请求体**是客户端发送给 API 的数据。**响应体**是 API 发送给客户端的数据。

Loading…
Cancel
Save