Hi Team,
I have created valid JSON and using Rest Api "rest/api/content" to create content as markdown in confluence.
If i hit Api i get HTTP 200 and Json got pasted on confluence page as plane html text though my repesrentation is "representation":"wiki"
{"type":"page","title":"Release Notes-TestA2","ancestors":[{"id":121212}],"body":{"wiki":{"value":"Text"}},"space":{"key":"test"}}
If i see this in Markdown in interface and paste the same html then i see proper table formating with the content.
Hi, @Awarelogy
Please, don't paste full request, it's difficult to read post, too many malformed text.
As for your question, please, look at example here:
https://developer.atlassian.com/server/confluence/confluence-rest-api-examples/#create-a-new-page
You're using incorrect request, to create page.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.