text: from rest_framework.permissions import AllowAny
  from rest_framework.response import Response
  from rest_framework.views import APIView
  from rest_framework import status
  
  from ..serializers import usuario_serializer
  
  
  class UsuarioList(APIView):
      permission_classes = [AllowAny]
  
      def post(self, request, format=None):
          serializer = usuario_serializer.UsuarioSerializer(data=request.data)
          if serializer.is_valid():
              serializer.save()
              return Response(serializer.data, status=status.HTTP_201_CREATED)
          return Response(serializer.errors, status=status.HTTP_400_BAD_REQUEST)
  