Attlassian Confluence creating a page
<p>At the Moment, my Task is to automate some processes in our Company. One of them is to automaticilly creating pages on our Knowledgebase from Attlassian Confluence.</p>

<p>Normally I'm a .Net developer and I'm not familiar with <code>REST</code> API's. So I've read the <a href="https://developer.atlassian.com/confdev/confluence-server-rest-api/confluence-rest-api-examples" rel="nofollow">documentation</a> and that gave me the following line to create a new page: </p>

<pre><code>curl -u admin:admin -X POST -H 'Content-Type: application/json' -d'{&amp;quot;type&amp;quot;:&amp;quot;page&amp;quot;,&amp;quot;title&amp;quot;:&amp;quot;new page&amp;quot;,&amp;quot;space&amp;quot;:{&amp;quot;key&amp;quot;:&amp;quot;TST&amp;quot;},&amp;quot;body&amp;quot;:{&amp;quot;storage&amp;quot;:{&amp;quot;value&amp;quot;:&amp;quot;&amp;lt;p&amp;gt;This is a new page&amp;lt;/p&amp;gt;&amp;quot;,&amp;quot;representation&amp;quot;:&amp;quot;storage&amp;quot;}}}' http://localhost:8080/confluence/rest/api/content/
</code></pre>

<p>My Problem is, that I don't know, how to do this in C#.</p>