This website works better with JavaScript.
Home
Explore
Help
Sign In
Madiwka
/
csci-backend
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
test commit
main
Almaz Shinbay
1 year ago
parent
be99bdbf91
commit
c5d38bb9c4
1 changed files
with
6 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-1
app/main.py
+ 6
- 1
app/main.py
View File
@@ -2,7 +2,12 @@ from fastapi import FastAPI
app = FastAPI()
app = FastAPI()
@app.get("/")
@app.get("/")
def root():
def root():
return {"message": "Hello World!"}
return {"message": "Hello World!"}
@app.get("/user")
def get_users():
return {
"name": "almaz"
}
Write
Preview
Loading…
Cancel
Save