diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 3c9b0a3..8741666 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,12 +2,9 @@ - - - - + - + \ No newline at end of file diff --git a/__pycache__/main.cpython-39.pyc b/__pycache__/main.cpython-39.pyc index f8e88bb..feb95ac 100644 Binary files a/__pycache__/main.cpython-39.pyc and b/__pycache__/main.cpython-39.pyc differ diff --git a/main.py b/main.py index 566d156..996cd19 100644 --- a/main.py +++ b/main.py @@ -21,7 +21,15 @@ def eval(): @app.route('/', methods=['POST']) -def getData(): +def getJSONData(): + if request.method == 'POST': + print("POST") + print(request.json) + return redirect(url_for('datapage')) + + +@app.route('/', methods=['POST']) +def getRadioData(): if request.method == 'POST': print("POST") print(request.json) diff --git a/templates/eval.html b/templates/eval.html index b7ff642..3ef9d22 100644 --- a/templates/eval.html +++ b/templates/eval.html @@ -3,40 +3,171 @@ - + -
+
- -
-
- + - + +
+
+ +
+ Fun + +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+
+ + + + + +
+