GuessWhoIAmS/docs/tsapi.md

35 lines
391 B
Markdown
Raw Normal View History

2023-08-31 11:28:35 +00:00
# TSRPC API 接口文档
## 通用说明
- 所有请求方法均为 `POST`
- 所有请求均需加入以下 Header :
- `Content-Type: application/json`
## 目录
- [Send](#/Send)
---
## Send <a id="/Send"></a>
**路径**
- POST `/Send`
**请求**
```ts
interface ReqSend {
content: string
}
```
**响应**
```ts
interface ResSend {
time: /*datetime*/ string
}
```