stranck-dev #31
4
api.py
4
api.py
|
@ -113,6 +113,10 @@ async def token_test(request):
|
||||||
|
|
||||||
return response.json({'ok': True, 'message': 'This token is valid :)'})
|
return response.json({'ok': True, 'message': 'This token is valid :)'})
|
||||||
|
|
||||||
|
@bp.get("/ping")
|
||||||
|
async def ping(request):
|
||||||
|
return response.text("pong")
|
||||||
|
|
||||||
@bp.get("/welcome")
|
@bp.get("/welcome")
|
||||||
async def welcome_app(request):
|
async def welcome_app(request):
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue