What is it?
POST is an HTTP method commonly used to send data to a server.
It is often used to create a new resource or start an action.
Simple Definition: POST sends data to create or submit something.
Software Knowledge → 03 · HTTP & APIs → POST
An HTTP method commonly used to create or submit data.
POST is an HTTP method commonly used to send data to a server.
It is often used to create a new resource or start an action.
Simple Definition: POST sends data to create or submit something.
Think of POST as submitting a new form.
You provide information.
The system processes it and creates or starts something.
POST is commonly used to:
POST requests are commonly used in:
Request Body:
{
"customer_id": 2001,
"quantity": 10
}Meaning: Create a new order using the submitted data.
Frontend → POST /api/orders → Backend → Create Order → Response
POST often carries data in the request body for the backend to process.
Usually sends data to create or submit something.
Usually retrieves existing data.
POST = Send / Create
GET = Retrieve
| English Term | 中文 | Simple English | 中文小白理解 |
|---|---|---|---|
| POST | 创建 / 提交 | An HTTP method commonly used to create or submit data. | 通常用于创建数据或提交操作的 HTTP 方法。 |
| Request Body | 请求体 | The main data sent inside a POST request. | POST 请求中真正携带的主要数据。 |
| Create | 创建 | Adding a new resource to a system. | 在系统中新增一条数据或资源。 |
| Submit | 提交 | Sending data or an action to a system for processing. | 将数据或操作发送给系统处理。 |
| Resource | 资源 | The object or data created by the request. | POST 请求创建的数据或业务对象。 |
| Endpoint | 接口地址 | The API address receiving the POST request. | 接收 POST 请求的 API 地址。 |
| JSON | JSON 数据格式 | A common format for POST request data. | POST 请求中常用的结构化数据格式。 |
| Backend | 后端 | The software that processes the submitted request. | 处理 POST 请求和业务规则的软件部分。 |
| Response | 响应 | The result returned after the POST request is processed. | POST 请求处理完成后返回的结果。 |
| Database | 数据库 | A system where newly created data may be stored. | 新创建的数据可能最终保存到的系统。 |
POST sends data to a server.
POST is commonly used to create or submit something.
POST often carries data in the request body.