Bachelorthesis_Code/backend/src/app.py

8 lines
138 B
Python

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