1232w
This commit is contained in:
parent
ea6b3318e5
commit
b3a46c3e68
|
|
@ -14,7 +14,12 @@ def index():
|
|||
|
||||
@main.route("/orders", methods=["POST", "GET"])
|
||||
def index1():
|
||||
# ones()
|
||||
# Получаем все GET-параметры
|
||||
params = request.args.to_dict()
|
||||
|
||||
# Просто выводим на экран (в ответ клиенту)
|
||||
return f"Received params: {params}", 200
|
||||
|
||||
return "Hello GET"
|
||||
|
||||
@main.route("/sales", methods=["POST", "GET"])
|
||||
|
|
|
|||
Loading…
Reference in New Issue