from starlette.responses import HTMLResponse from fastapi import FastAPI app = FastAPI() @app.get("/items/") async def read_items(): html_content = """