testing the url
This commit is contained in:
parent
e1e89a2440
commit
ead4a6dd4b
@ -18,3 +18,8 @@ app.add_middleware(AuthenticationMiddleware, backend=BasicAuthBackend(), on_erro
|
|||||||
@app.get("/")
|
@app.get("/")
|
||||||
async def root():
|
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