Spaces:
Paused
Paused
Commit ·
04748c9
1
Parent(s): 596f0ee
-- Added Testing API
Browse files
app.py
CHANGED
|
@@ -5,3 +5,7 @@ app = FastAPI()
|
|
| 5 |
@app.get("/")
|
| 6 |
def greet_json():
|
| 7 |
return {"Hello": "World!"}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
@app.get("/")
|
| 6 |
def greet_json():
|
| 7 |
return {"Hello": "World!"}
|
| 8 |
+
|
| 9 |
+
@app.get("/testing")
|
| 10 |
+
def testing_json():
|
| 11 |
+
return {"Testing": "Testing Value"}
|