Skip to content

Commit

Permalink
Updated api.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hyperzlib committed Aug 2, 2024
1 parent 2f7b6b0 commit 789ea67
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,21 @@ POST /api/game/{clientId}/fire
}
```
使用JSON POST格式发送请求的Post Body:
```json5
{
"strength": 20,
"time": 5000
}
```
使用x-www-form-urlencoded格式发送请求的Post Body:
```html
strength=20&time=5000
```
强度配置在服务端已做限制,不会超出范围。
### 响应
Expand Down

0 comments on commit 789ea67

Please sign in to comment.