Zeiten besser dargestellt
Werte in europäisches System umgerechnet
This commit is contained in:
@@ -34,7 +34,7 @@ class WetterDB:
|
||||
cursor.execute('''
|
||||
CREATE TABLE IF NOT EXISTS wetterdaten (
|
||||
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||
dateTime TEXT NOT NULL,
|
||||
dateTime INTEGER NOT NULL,
|
||||
barometer REAL,
|
||||
outTemp REAL,
|
||||
outHumidity INTEGER,
|
||||
@@ -86,7 +86,7 @@ def health():
|
||||
return jsonify({'status': 'ok', 'service': 'ingestion'}), 200
|
||||
|
||||
|
||||
@app.route('/api/data/upload', methods=['POST'])
|
||||
# @app.route('/api/data/upload', methods=['POST'])
|
||||
@app.route('/api/data/upload/', methods=['POST'])
|
||||
def upload_data():
|
||||
"""HTTP-POST Endpoint für Wetterdaten"""
|
||||
|
||||
Reference in New Issue
Block a user