Skip to content

Commit 51e2af7

Browse files
authored
更新 koh README.md
1 parent 9835768 commit 51e2af7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

koh-python-nss_base/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ KOH题目是基于HTTP服务与后端评判系统进行交互的,故题目容器
1111
```python
1212
@app.route('/upload', methods=['POST'])
1313
def upload():
14-
pass
14+
pass
1515
```
1616

1717
该路由负责接收用户上传的数据。数据将以表单数据的形式进行上传,参数名为file。
@@ -41,7 +41,7 @@ requests.post(f'http://{url}/upload', files={
4141
```python
4242
@app.route('/check', methods=['POST'])
4343
def check():
44-
pass
44+
pass
4545
```
4646

4747
当后端完成对/upload路由的访问且没有异常时,将访问/check路由。访问示例代码如下:

0 commit comments

Comments
 (0)