We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a1d13b commit 8af9f63Copy full SHA for 8af9f63
1 file changed
routers/routes.py
@@ -0,0 +1,8 @@
1
+from fastapi import APIRouter
2
+
3
+router = APIRouter()
4
5
+@router.get("/userDetails")
6
+async def get_item():
7
+ items = [{"name": "Alok Kumar", "age": 24}, {"name": "Rajesh Khanna", "age": 30}]
8
+ return items
0 commit comments