Updated endpoint paths to match Java backend
This commit is contained in:
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user