|
@@ -1,4 +1,5 @@
|
|
|
from aiohttp.web import Response
|
|
from aiohttp.web import Response
|
|
|
|
|
+from json import dumps
|
|
|
|
|
|
|
|
-async def say_hello(request):
|
|
|
|
|
- return Response(text='Hi')
|
|
|
|
|
|
|
+async def get_status(request):
|
|
|
|
|
+ return Response(body=dumps({"msg": "all_ok", "status": 200}))
|