9 lines
122 B
Python
9 lines
122 B
Python
from fastapi import FastAPI
|
|
|
|
app = FastAPI()
|
|
|
|
|
|
@app.get("/items/")
|
|
def read_items():
|
|
return ["plumbus", "portal gun"]
|