From 9ce0e6fcd3eecdb16bd77cb5835780551c406a93 Mon Sep 17 00:00:00 2001 From: Adam Bem Date: Wed, 8 Feb 2023 10:34:16 +0100 Subject: [PATCH] Updated endpoint paths to match Java backend --- Backend-libXML/main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Backend-libXML/main.py b/Backend-libXML/main.py index 50a5c09..a38376c 100644 --- a/Backend-libXML/main.py +++ b/Backend-libXML/main.py @@ -50,15 +50,15 @@ def process_xml(request: request, type: str) -> str: return json.dumps(response) -@app.route("/xpath", methods=["POST"]) +@app.route("/xpathpost", methods=["POST"]) def xpath(): return process_xml(request, "xpath") -@app.route("/xsd", methods=["POST"]) +@app.route("/xsdpost", methods=["POST"]) def xsd(): return process_xml(request, "xsd") -@app.route("/xslt", methods=["POST"]) +@app.route("/xsltpost", methods=["POST"]) def xslt(): return process_xml(request, "xslt")