-1
目前,我的任务是自动化我们公司的一些流程。其中之一是从Attlassian Confluence在我们的知识库上自动创建页面。Attlassian Confluence创建一个页面
通常我是.Net开发人员,我不熟悉REST
API。所以,我读过的documentation这给了我下面的行创建一个新的页面:
curl -u admin:admin -X POST -H 'Content-Type: application/json' -d'{"type":"page","title":"new page","space":{"key":"TST"},"body":{"storage":{"value":"<p>This is a new page</p>","representation":"storage"}}}' http://localhost:8080/confluence/rest/api/content/
我的问题是,我不知道,如何在C#中做到这一点。
你有没有试过谷歌“在C#中使用rest api” – Thorarins