This commit is contained in:
Alex55 2026-03-19 11:13:05 +02:00
parent ea6b3318e5
commit b3a46c3e68
1 changed files with 6 additions and 1 deletions

View File

@ -14,7 +14,12 @@ def index():
@main.route("/orders", methods=["POST", "GET"]) @main.route("/orders", methods=["POST", "GET"])
def index1(): def index1():
# ones() # Получаем все GET-параметры
params = request.args.to_dict()
# Просто выводим на экран (в ответ клиенту)
return f"Received params: {params}", 200
return "Hello GET" return "Hello GET"
@main.route("/sales", methods=["POST", "GET"]) @main.route("/sales", methods=["POST", "GET"])