X-Git-Url: https://jfr.im/git/dlqueue.git/blobdiff_plain/28ed5e794e964aa2316a455994cb9d98ffd114c9..fdcb0b1ae93cf4c9de97f1edf2c6cea2a5c6c53c:/app.py diff --git a/app.py b/app.py index c893078..a5a57bc 100644 --- a/app.py +++ b/app.py @@ -1,7 +1,10 @@ from flask import Flask, render_template - app = Flask(__name__) @app.route("/") def index(): return render_template('index.html') + +@app.route('/api/new-job') +def new_job(): + return {'foo':1,'bar':2,'quux':[1,2,3]}