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.

1 vuosi sitten
1 vuosi sitten
12345678910111213
  1. from fastapi import FastAPI
  2. app = FastAPI()
  3. @app.get("/")
  4. def root():
  5. return {"message": "Hello World!"}
  6. @app.get("/user")
  7. def get_users():
  8. return {
  9. "name": "almaz"
  10. }