Another way to import the storage format into the confluence page is by using the rest service provided by confluence.
Here is an example
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 <br/> a new page</p>","representation": "storage"}}}' http://localhost:8080/confluence/rest/api/content/ | python -mjson.tool
Ref: https://developer.atlassian.com/server/confluence/confluence-rest-api-examples/
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.