Flask-Test / main.py
Rupnil's picture
Update main.py
5b87f35
raw
history blame contribute delete
273 Bytes
from flask import Flask
app = Flask(__name__)
@app.route('/')
def hello():
return '{"status": {"details": {"code": 200, "message": "working"}}}'
@app.route('/api')
def api():
return '{"status": {"details": {"version": "0.1", "code": 200, "message": "working"}}}'