Open AhsanSheraz opened 4 years ago
def get(self, request, *args, **kwargs): try: print(self.request.GET) token = self.request.GET['hub.verify_token'] except MultiValueDictKeyError: print("hhhhhhhhhh") token = False if token == VERIFY_TOKEN: return HttpResponse(self.request.GET['hub.challenge']) else: return HttpResponse('Error, invalid token')
it returned <QueryDict: {}>
it returned <QueryDict: {}>