I want to change the webpage title : <title>whatever I want</title> with c# code, so that I can build in the future dynamic pages.
I try a lot of things, but I cant change anything on the webpage, can anyone help me to give me some tips how to do that?
string baseurl = "mywebpage";
string userpass = "username" + ":" + "password";
string json = "a json string"
string encoded = Convert.ToBase64String(ASCIIEncoding.ASCII.GetBytes(userpass));
string encval = "Basic " + encoded;
var content = new StringContent(json, Encoding.UTF8, "application/json");
HttpClient client = new HttpClient();
await client.PostAsync(baseurl+"/rest/api/content/"+pageid, content);
Hi, Confluence collaborators! As part of #Confluence-Collaboratory month, we’ve created a very special Mythsbusters segment, where we're dive into an interesting myth and uncover the truth behind i...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events