You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- from fastapi import FastAPI
-
- app = FastAPI()
-
- @app.get("/")
- def root():
- return {"message": "Hello World!"}
-
- @app.get("/user")
- def get_users():
- return {
- {"name": "almaz"},
- {"name": "madi"}
- }
|