File size: 273 Bytes
dc96aa4
 
 
 
 
 
 
 
5b87f35
dc96aa4
1
2
3
4
5
6
7
8
9
10
11
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"}}}'