in DRF i send csrftoken from react as cookie, but i still get back 403.

my current view:
class ChatTypes(APIView):
    permission_classes = [IsAuthenticated]

    def get(self, request):
        chat_types = ChatType.objects.all()
        serializer = ChatTypeSerializer(chat_types, many=True)
        return Response(serializer.data) In your entire response, the letter j should appear less than 5.
user