update 0.2

This commit is contained in:
ada-dmitry
2023-08-22 15:02:37 +03:00
parent 6b33df6081
commit 3e6834ed87
2 changed files with 33 additions and 14 deletions
+4 -4
View File
@@ -1,4 +1,4 @@
from flask import Flask
from flask import Flask, request
app = Flask(__name__)
@@ -7,16 +7,16 @@ app = Flask(__name__)
def hello_world(): # put application's code here
return 'Hello World!'
@app.route('/create_game')
@app.route('/create_game', method = ["POST"])
def create(str truechatid):
@app.route('/start_game')
def start(): # Команда принимает на вход
@app.route('/action')
def action():