@@ -0,0 +1,8 @@
from fastapi import FastAPI, Request
app = FastAPI()
@app.get("/")
async def read_root(request: Request):
client_host = request.client.host
return {"message": "ハローワールド!!", "client_ip": client_host}
The note is not visible to the blocked user.