Rest api create page

I can create new page using rest api, but I really need to create table in my page. Is there any way to create table using rest api or using xwiki macros ?


Hi. If you can create a new page then you can control the content and thus you can use the wiki markup syntax for tables. What’s the problem with that?

See for the syntax

The problem is that xwiki takes only first line from xml. So the table look like in attachment.


See and " Example of a file for a page". You should be able to use multiline content in the <content>...</content> xml tag.

Thanks finally i found the solution. I have to set new line in xml using 2 delimiter