示例#1
0
 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);
 }