From ba3555ef6e3e5d9fe2897e4c85cfc15879d543d2 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Mon, 23 Jun 2025 13:23:26 -0400 Subject: [PATCH] POST --- app/api/routes/routes.py | 4 ++-- app/swagger/paths/Account.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/api/routes/routes.py b/app/api/routes/routes.py index bedbc48..09210b7 100644 --- a/app/api/routes/routes.py +++ b/app/api/routes/routes.py @@ -74,14 +74,14 @@ def merms_register_complete(): response = RegisterService.process_request(data) return response -@api.route("/panel/Account", methods=["GET"]) +@api.route("/panel/Account", methods=["POST"]) @jwt_required() def merms_account(): data = request.get_json() response = AccountService.process_request(data) return response -@api.route("/panel/Products", methods=["GET"]) +@api.route("/panel/Products", methods=["POST"]) @jwt_required() def merms_products(): data = request.get_json() diff --git a/app/swagger/paths/Account.json b/app/swagger/paths/Account.json index d4288a0..63a76ea 100644 --- a/app/swagger/paths/Account.json +++ b/app/swagger/paths/Account.json @@ -1,5 +1,5 @@ { - "get": { + "post": { "tags": [ "Account" ],