import requests as requests from flask import Flask from json2html import json2html app = Flask(__name__) serverUrl = "https://127.0.0.1:8000/api" #todo change me @app.route('/') def hello(): json = requests.get(serverUrl + '/GetInstallationList', verify=False) #TODO VERIFY if json.content == b'0': return "Still loading Installations" return json2html.convert(json = json.json(), escape=False)