Django - DRF Advanced Features
Given this DRF view snippet, what will be the response status code if an anonymous user tries to POST?
from rest_framework.permissions import IsAuthenticated
class MyView(APIView):
permission_classes = [IsAuthenticated]
def post(self, request):
return Response({'message': 'Success'})
