Files
Pulse-API/solution/pulse/api/ping/views.py
T
2024-03-03 09:20:21 +03:00

10 lines
268 B
Python

from rest_framework import status
from rest_framework.response import Response
from rest_framework.views import APIView
class PingApiView(APIView):
def get(self, request):
data = {"message": "ok"}
return Response(data, status=status.HTTP_200_OK)