Initialized app and created ping endpoint

This commit is contained in:
ITQ
2024-02-27 19:01:54 +03:00
parent 1209dfe48d
commit 607f6de88c
19 changed files with 406 additions and 25 deletions
+9
View File
@@ -0,0 +1,9 @@
from rest_framework import status
from rest_framework.response import Response
from rest_framework.views import APIView
class PingView(APIView):
def get(self, request):
data = {"message": "ok"}
return Response(data, status=status.HTTP_200_OK)