Spaces:
Runtime error
Runtime error
DmitrMakeev
commited on
Commit
•
1a7f16a
1
Parent(s):
4def4e6
Update app.py
Browse files
app.py
CHANGED
@@ -24,8 +24,8 @@ def zapro():
|
|
24 |
return flask.render_template('zapro.html')
|
25 |
|
26 |
|
27 |
-
@app.route("/
|
28 |
-
def
|
29 |
# Читаем значение параметра "T1" из GET-запроса
|
30 |
ph = request.args.get('ph')
|
31 |
|
|
|
24 |
return flask.render_template('zapro.html')
|
25 |
|
26 |
|
27 |
+
@app.route("/api", methods=['GET'])
|
28 |
+
def api():
|
29 |
# Читаем значение параметра "T1" из GET-запроса
|
30 |
ph = request.args.get('ph')
|
31 |
|