Browse Source

test commit

main
Almaz Shinbay 1 year ago
parent
commit
c5d38bb9c4
1 changed files with 6 additions and 1 deletions
  1. +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"
}

Loading…
Cancel
Save