'If the project was set on POST, store an HTTP exchange'

def finalize_response(self, req, *args, **kwargs):

    resp = super(WebhookMixin, self).finalize_response(req, *args, **kwargs)
    if (hasattr(self, 'project') and self.project):
        HttpExchange.objects.from_exchange(req, resp, related_object=self.get_integration(), payload=self.data)
    return resp
