FrontEnd Added
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user