質問編集履歴
1
記載ミス
test
CHANGED
File without changes
|
test
CHANGED
@@ -143,3 +143,39 @@
|
|
143
143
|
|
144
144
|
|
145
145
|
```
|
146
|
+
|
147
|
+
|
148
|
+
|
149
|
+
```
|
150
|
+
|
151
|
+
from flask import Flask, request
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
app = Flask(__name__)
|
156
|
+
|
157
|
+
|
158
|
+
|
159
|
+
|
160
|
+
|
161
|
+
@app.route('/send_image', methods=['POST'])
|
162
|
+
|
163
|
+
def send_image():
|
164
|
+
|
165
|
+
print(request.form['image'])
|
166
|
+
|
167
|
+
res = "ok"
|
168
|
+
|
169
|
+
return res
|
170
|
+
|
171
|
+
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
if __name__ == "__main__":
|
176
|
+
|
177
|
+
app.run(debug=True)
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
```
|