code: def post(self, data):
          
          if not self.url:
              raise Error('URL for incoming webhook is undefined')
  
          return requests.post(self.url, data=json.dumps(data),
                               timeout=self.timeout, proxies=self.proxies)
docs: Posts message with payload formatted in accordance with
          this documentation https://api.slack.com/incoming-webhooks