python_flask / app.py
bbqdennisEX's picture
-- Added Testing API
04748c9
raw
history blame
191 Bytes
from fastapi import FastAPI
app = FastAPI()
@app.get("/")
def greet_json():
return {"Hello": "World!"}
@app.get("/testing")
def testing_json():
return {"Testing": "Testing Value"}