bema/func/libxml_backend #20

Merged
bema merged 25 commits from bema/func/libxml_backend into dev 2023-02-09 13:34:44 +01:00
Showing only changes of commit 3817b1ac5a - Show all commits

View File

@@ -11,7 +11,7 @@ app = Flask(__name__)
@app.route("/xpath", methods=["POST"])
def xpath():
start = time.time_ns()
request_data = request.get_json()
request_data = json.loads(request.get_data(as_text=True))
xml = request_data['data']
xpath = request_data['process']
@@ -31,7 +31,7 @@ def xpath():
@app.route("/xsd", methods=["POST"])
def xsd():
start = time.time_ns()
request_data = request.get_json()
request_data = json.loads(request.get_data(as_text=True))
xml = request_data['data']
xsd = request_data['process']