Bachelorthesis_Code/backend/src/app.py

9 lines
138 B
Python
Raw Normal View History

import time
from flask import Flask
app = Flask(__name__)
@app.route('/time')
def get_current_time():
return {'time': time.time()}