FrontEnd Added

This commit is contained in:
caliskan
2023-05-12 08:44:00 +02:00
parent bac84033bd
commit bfce051b60
17 changed files with 241 additions and 18 deletions
View File
+15
View File
@@ -0,0 +1,15 @@
from flask import Flask, jsonify
app = Flask(__name__)
@app.route('/GETQUESTION', methods=['GET'])
def hello():
return jsonify({'TEST': 'Dies ist eine Testfrage',
'firstanswer': 'erste Antwort',
'secondanswer': 'zweite Antwort',
'thirdanswer': 'dritte Antwort'})
if __name__ == '__main__':
app.run(host='127.0.0.1', port=5555, debug=True)