title: Django how to use webhook and post data?
body: <p>i am confused about django webhooks because i am beginner in python and django. Most of the things i see for the documentation. how do i connect to my app and Post data.Can anyone tell me how do i set my webhook for my data.
  i want to Post data to zapier.</p>
  
  <p><strong>Models.py</strong></p>
  
  <pre><code>class Driver(models.Model):
      class Meta():
          db_table = "driver"
          verbose_name = "Driver"
          verbose_name_plural = "Drivers"
          ordering = ['driver_firstname', 'driver_lastname']
  
      driver_firstname = models.CharField(
          max_length=64,
          blank=True,
          null=True
      )
      driver_lastname = models.CharField(
          max_length=64,
          blank=True,
          null=True
      )
  
      driver_email= models.CharField(
          max_length=64,
          blank=True,
          null=True
  
      )
  </code></pre>
  
  <p><strong>Views.py</strong></p>
  
  <pre><code>def drivers(request):
      if request.method == 'POST':
          if request.POST['driver_firstname'] and request.POST['driver_lastname'] and request.POST['driver_email']
              driver = Driver()
              driver.driver_firstname = request.POST['driver_firstname']
              driver.driver_lastname = request.POST['driver_lastname']
              driver.driver_email = request.POST['driver_email']
              driver.save()
  </code></pre>