public void AddWebhook(Webhook image) { var data = downloadWebPage(getFullUrl("/admin/webhooks.xml"), HttpMethod.POST, image.ToXElement().ToString()); var x = XDocument.Parse(data).Root; image.LoadXElement(x); }