Ticket 1.3 issue resolved
This commit is contained in:
Binary file not shown.
@@ -5,7 +5,7 @@ app = FastAPI()
|
|||||||
|
|
||||||
@app.get("/health/{Status}")
|
@app.get("/health/{Status}")
|
||||||
def get_health(Status: int, q: str = "ok"):
|
def get_health(Status: int, q: str = "ok"):
|
||||||
return {"Status": Status, "q": q}
|
return {"Health": Status, "Status": q}
|
||||||
|
|
||||||
|
|
||||||
@app.get("/items/{item_id}")
|
@app.get("/items/{item_id}")
|
||||||
|
|||||||
Reference in New Issue
Block a user