habulaj commited on
Commit
8aade40
·
1 Parent(s): 4d58dd6

Create other_route.py

Browse files
Files changed (1) hide show
  1. routers/other_route.py +9 -0
routers/other_route.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ # routers/other_route.py
2
+
3
+ from fastapi import APIRouter
4
+
5
+ router = APIRouter()
6
+
7
+ @router.get("/hello")
8
+ def hello_world():
9
+ return {"message": "Hello, World from another route!"}