7 lines
110 B
Python
7 lines
110 B
Python
from fastapi import FastAPI
|
|
|
|
app = FastAPI()
|
|
|
|
@app.get('/')
|
|
def home():
|
|
return '<h1>This is a title</h1>'
|