code: def deliver_hook(self, instance, payload_override=None):
          
          payload = payload_override or self.serialize_hook(instance)
          if getattr(settings, 'HOOK_DELIVERER', None):
              deliverer = get_module(settings.HOOK_DELIVERER)
              deliverer(self.target, payload, instance=instance, hook=self)
          else:
              client.post(
                  url=self.target,
                  data=json.dumps(payload, cls=DjangoJSONEncoder),
                  headers={'Content-Type': 'application/json'}
              )
  
          signals.hook_sent_event.send_robust(sender=self.__class__, payload=payload, instance=instance, hook=self)
          return None
docs: Deliver the payload to the target URL.
  
          By default it serializes to JSON and POSTs.