Django - DRF Advanced Features
Given this view with throttling applied:
What happens if a user makes 4 GET requests within one minute?
from rest_framework.throttling import UserRateThrottle
class MyThrottle(UserRateThrottle):
rate = '3/minute'
class MyView(APIView):
throttle_classes = [MyThrottle]
def get(self, request):
return Response({'message': 'Hello'})What happens if a user makes 4 GET requests within one minute?
