Hope someone can help out with this as soon as possible.
This approach has been done many times outside of DSS but we want to take advantage of the API endpoint by ensuring we have a data sent via the API Point, for example:
results = request(url, param)
url: endpoint, param: data or dictionary access of our data.
I understand there is the webapp route which does not serve the purpose needed. Using Flask API, this has been implemented simply as follows in the library editor and called via the endpoint but it failed considerably during the API call.
Can you post the error message you are seeing when the failure you reference occurs? If possible, can you provide some more detail about when the failure is occurring, and how you are triggering this failure?
It sounds like you provided the Flask code here as an example of the type of XML parsing you want to do, but your goal is not to create a Flask app. If that is the case, can you also provide the code that is not working as expected?