testing the url
This commit is contained in:
parent
e1e89a2440
commit
ead4a6dd4b
@ -17,4 +17,9 @@ app.add_middleware(AuthenticationMiddleware, backend=BasicAuthBackend(), on_erro
|
||||
|
||||
@app.get("/")
|
||||
async def root():
|
||||
return {"message": "Hello World"}
|
||||
return {"message": "Hello World"}
|
||||
|
||||
@app.get("/pillar/<param>")
|
||||
async def pillar(param: str):
|
||||
print(param)
|
||||
return None
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user