回答編集履歴
1
追記
answer
CHANGED
@@ -5,6 +5,7 @@
|
|
5
5
|
filepath_simulation_sample = './settings.xlsx'
|
6
6
|
with open(filepath_simulation_sample, 'rb') as f:
|
7
7
|
g = BytesIO(f.read())
|
8
|
+
data = dict()
|
8
9
|
data['file'] = (g, filepath_simulation_sample)
|
9
10
|
response = client.post('/register_simulation', data=data, content_type="multipart/form-data")
|
10
11
|
```
|