

def get(self, request, *args, **kwargs):
    msg = 'Hits counted via POST only.'
    return JsonResponse({
        'success': False,
        'error_message': msg,
    })

dataset/ETHPy150Open thornomad/django-hitcount/hitcount/views.py HitCountJSONView.get/original