This commit is contained in:
ada-dmitry
2023-08-22 15:47:26 +03:00
parent 8e05627782
commit c1ebc405d4
3 changed files with 20 additions and 16 deletions
+7 -6
View File
@@ -8,21 +8,22 @@ app = Flask(__name__)
def hello_world(): # put application's code here
return 'Hello World!'
@app.route('/create_game', methods = ["POST"])
@app.route('/create_game', methods=["POST"])
def create():
TCI = request.json
db.query_ins_chat(TCI)
@app.route('/start_game')
def start(): # Команда принимает на вход
def start(): # Команда принимает на вход
pass
@app.route('/action')
def action():
def action():
pass
if __name__ == '__main__':
app.run()
app.run()