INNER CODE UNIT · Python
rawapi
apache/cloudstack · tools/ngui/app.py:29
def rawapi(command):
if request.method == 'GET':
return apicall(command, get_args(request.args))
@app.route('/')
def index():
return send_from_directory("templates", "index.html")
if __name__ == '__main__':
app.run(debug=True)