diff options
| author | Aotrix <[email protected]> | 2026-09-20 22:10:04 +0200 |
|---|---|---|
| committer | Aotrix <[email protected]> | 2026-09-20 22:10:04 +0200 |
| commit | e13ae165dfeb2408b3fed12a233dd0b68f6769fe (patch) | |
| tree | fd826ce29b0759e71a7dc2d4a3b78bb891388aec | |
First commit
| -rw-r--r-- | app.py | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -0,0 +1,13 @@ +from flask import Flask, jsonify + +app = Flask(__name__) + + [email protected]("/") +def index(): + return "<p>Status API is running.</p>" + + [email protected]("/status") +def status(): + return jsonify({"status": "ok", "service": "statusapi", "version": "1.0"}) |
